Record Class VEnum.Raw
java.lang.Object
java.lang.Record
app.photofox.vipsffm.VEnum.Raw
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.intfinal inthashCode()Returns a hash code value for this object.intrawValue()Returns the value of therawValuerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Raw
public Raw(int rawValue) Creates an instance of aRawrecord class.- Parameters:
rawValue- the value for therawValuerecord component
-
-
Method Details
-
getRawValue
public int getRawValue()- Specified by:
getRawValuein 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 thecomparemethod from their corresponding wrapper classes. -
rawValue
public int rawValue()Returns the value of therawValuerecord component.- Returns:
- the value of the
rawValuerecord component
-