Record Class CoreCompactRecords.Origin
java.lang.Object
java.lang.Record
thc.CoreCompactRecords.Origin
- Enclosing class:
CoreCompactRecords
public static record CoreCompactRecords.Origin(String container, long dataOffset, long bindingOffset, CoreCompactDebug debug)
extends Record
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of thebindingOffsetrecord component.Returns the value of thecontainerrecord component.longReturns the value of thedataOffsetrecord component.debug()Returns the value of thedebugrecord component.final booleanIndicates whether some other object is "equal to" this one.longlonggetDebug()final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Origin
-
Origin
-
Origin
Creates an instance of aOriginrecord class.- Parameters:
container- the value for thecontainerrecord componentdataOffset- the value for thedataOffsetrecord componentbindingOffset- the value for thebindingOffsetrecord componentdebug- the value for thedebugrecord component
-
-
Method Details
-
getContainer
-
getDataOffset
-
getBindingOffset
-
getDebug
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
container
-
dataOffset
Returns the value of thedataOffsetrecord component.- Returns:
- the value of the
dataOffsetrecord component
-
bindingOffset
Returns the value of thebindingOffsetrecord component.- Returns:
- the value of the
bindingOffsetrecord component
-
debug
Returns the value of thedebugrecord component.- Returns:
- the value of the
debugrecord component
-