Record Class ClassLayout
java.lang.Object
java.lang.Record
net.codecrete.windowsapi.winmd.tables.ClassLayout
- Record Components:
packingSize- packingSizeclassSize- class sizeparent- parent (TypeDef index)
Row of the "ClassLayout" table.
See ECMA-335, II.22.8 ClassLayout: 0x0F
-
Constructor Summary
ConstructorsConstructorDescriptionClassLayout(int packingSize, int classSize, int parent) Creates an instance of aClassLayoutrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theclassSizerecord 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 thepackingSizerecord component.intparent()Returns the value of theparentrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ClassLayout
public ClassLayout(int packingSize, int classSize, int parent) Creates an instance of aClassLayoutrecord class.- Parameters:
packingSize- the value for thepackingSizerecord componentclassSize- the value for theclassSizerecord componentparent- the value for theparentrecord 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. -
packingSize
public int packingSize()Returns the value of thepackingSizerecord component.- Returns:
- the value of the
packingSizerecord component
-
classSize
-
parent
-