Record Class NestedClass
java.lang.Object
java.lang.Record
net.codecrete.windowsapi.winmd.tables.NestedClass
- Record Components:
nestedClass- nested class (TypeAlias index)enclosingClass- enclosing class (TypeAlias index)
Row of the "NestedClass" table.
See ECMA-335, II.22.32 NestedClass
-
Constructor Summary
ConstructorsConstructorDescriptionNestedClass(int nestedClass, int enclosingClass) Creates an instance of aNestedClassrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theenclosingClassrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thenestedClassrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
NestedClass
public NestedClass(int nestedClass, int enclosingClass) Creates an instance of aNestedClassrecord class.- Parameters:
nestedClass- the value for thenestedClassrecord componentenclosingClass- the value for theenclosingClassrecord component
-
-
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. -
nestedClass
public int nestedClass()Returns the value of thenestedClassrecord component.- Returns:
- the value of the
nestedClassrecord component
-
enclosingClass
public int enclosingClass()Returns the value of theenclosingClassrecord component.- Returns:
- the value of the
enclosingClassrecord component
-