Record Class InterfaceImpl
java.lang.Object
java.lang.Record
net.codecrete.windowsapi.winmd.tables.InterfaceImpl
- Record Components:
classIndex- type definition (index into TypeDef table)interfaceIndex- implemented interface (TypeDefOrRef coded index)
Row of the "InterfaceImpl" table.
See ECMA-335, II.22.23 InterfaceImpl: 0x09
-
Constructor Summary
ConstructorsConstructorDescriptionInterfaceImpl(int classIndex, int interfaceIndex) Creates an instance of aInterfaceImplrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theclassIndexrecord 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 theinterfaceIndexrecord component.Gets the interfaces as a TypDefOrRef coded indexfinal StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
InterfaceImpl
public InterfaceImpl(int classIndex, int interfaceIndex) Creates an instance of aInterfaceImplrecord class.- Parameters:
classIndex- the value for theclassIndexrecord componentinterfaceIndex- the value for theinterfaceIndexrecord component
-
-
Method Details
-
interfaceTypeDefOrRef
Gets the interfaces as a TypDefOrRef coded index- Returns:
- CodedIndex instance
-
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. -
classIndex
public int classIndex()Returns the value of theclassIndexrecord component.- Returns:
- the value of the
classIndexrecord component
-
interfaceIndex
public int interfaceIndex()Returns the value of theinterfaceIndexrecord component.- Returns:
- the value of the
interfaceIndexrecord component
-