Record Class VEnum.Raw
java.lang.Object
java.lang.Record
app.photofox.vipsffm.VEnum.Raw
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.int
final int
hashCode()
Returns a hash code value for this object.int
rawValue()
Returns the value of therawValue
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Raw
public Raw(int rawValue) Creates an instance of aRaw
record class.- Parameters:
rawValue
- the value for therawValue
record component
-
-
Method Details
-
getRawValue
public int getRawValue()- Specified by:
getRawValue
in interfaceVEnum
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with thecompare
method from their corresponding wrapper classes. -
rawValue
public int rawValue()Returns the value of therawValue
record component.- Returns:
- the value of the
rawValue
record component
-