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
ConstructorsConstructorDescriptionSizes(long text, long data, long bss) Creates an instance of aSizesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongbss()Returns the value of thebssrecord component.longdata()Returns the value of thedatarecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longtext()Returns the value of thetextrecord component.final StringtoString()Returns a string representation of this record class.longtotal()
-
Constructor Details
-
Sizes
public Sizes(long text, long data, long bss) Creates an instance of aSizesrecord class.- Parameters:
text- the value for thetextrecord componentdata- the value for thedatarecord componentbss- the value for thebssrecord 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 thetextrecord component.- Returns:
- the value of the
textrecord component
-
data
public long data()Returns the value of thedatarecord component.- Returns:
- the value of the
datarecord component
-
bss
public long bss()Returns the value of thebssrecord component.- Returns:
- the value of the
bssrecord component
-