Package org.eclipse.cdt.utils.coff
Record Class PEHelper64.Sizes
java.lang.Object
java.lang.Record
org.eclipse.cdt.utils.coff.PEHelper64.Sizes
- Enclosing class:
- PEHelper64
-
Constructor Summary
ConstructorDescriptionSizes
(long text, long data, long bss) Creates an instance of aSizes
record class. -
Method Summary
Modifier and TypeMethodDescriptionlong
bss()
Returns the value of thebss
record component.long
data()
Returns the value of thedata
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.long
text()
Returns the value of thetext
record component.final String
toString()
Returns a string representation of this record class.long
total()
-
Constructor Details
-
Sizes
public Sizes(long text, long data, long bss) Creates an instance of aSizes
record class.- Parameters:
text
- the value for thetext
record componentdata
- the value for thedata
record componentbss
- the value for thebss
record component
-
-
Method Details
-
total
public long total() -
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. All components in this record class are compared with '=='. -
text
public long text()Returns the value of thetext
record component.- Returns:
- the value of the
text
record component
-
data
public long data()Returns the value of thedata
record component.- Returns:
- the value of the
data
record component
-
bss
public long bss()Returns the value of thebss
record component.- Returns:
- the value of the
bss
record component
-