Record Class NoteGnuProperty.NotePropertyElement
java.lang.Object
java.lang.Record
ghidra.app.util.bin.format.elf.info.NoteGnuProperty.NotePropertyElement
- Enclosing class:
NoteGnuProperty
public static record NoteGnuProperty.NotePropertyElement(int type, String typeName, String value, int length)
extends Record
Contains the information of an individual note property.
-
Constructor Summary
ConstructorsConstructorDescriptionNotePropertyElement(int type, String typeName, String value, int length) Creates an instance of aNotePropertyElementrecord 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.intlength()Returns the value of thelengthrecord component.final StringtoString()Returns a string representation of this record class.inttype()Returns the value of thetyperecord component.typeName()Returns the value of thetypeNamerecord component.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
NotePropertyElement
Creates an instance of aNotePropertyElementrecord class.- Parameters:
type- the value for thetyperecord componenttypeName- the value for thetypeNamerecord componentvalue- the value for thevaluerecord componentlength- the value for thelengthrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
type
public int type()Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
typeName
Returns the value of thetypeNamerecord component.- Returns:
- the value of the
typeNamerecord component
-
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-
length
public int length()Returns the value of thelengthrecord component.- Returns:
- the value of the
lengthrecord component
-