Record Class Constant
java.lang.Object
java.lang.Record
net.codecrete.windowsapi.winmd.tables.Constant
- Record Components:
type- data type (ELEMENT_TYPE_XX)parent- parent (HasConstant coded index)value- constant value (blob index)
Row of the "Constant" table.
See ECMA-335, II.22.9 Constant: 0x0B
-
Constructor Summary
ConstructorsConstructorDescriptionConstant(int type, int parent, int value) Creates an instance of aConstantrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intparent()Returns the value of theparentrecord component.final StringtoString()Returns a string representation of this record class.inttype()Returns the value of thetyperecord component.intvalue()Returns the value of thevaluerecord component.
-
Constructor Details
-
Constant
-
-
Method Details
-
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. -
type
-
parent
-
value
-