java.lang.Object
java.lang.Record
overrungl.util.value.Triplet.OfLong
- Record Components:
 x- the first value.y- the second value.z- the third value.
A triplet of longs.
- Since:
 - 0.1.0
 - Author:
 - squid233
 
- 
Constructor Summary
ConstructorsConstructorDescriptionOfLong(long x, long y, long z) Creates an instance of aOfLongrecord 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.final StringtoString()Returns a string representation of this record class.longx()Returns the value of thexrecord component.longy()Returns the value of theyrecord component.longz()Returns the value of thezrecord component. 
- 
Constructor Details
 - 
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. All components in this record class are compared with '=='. - 
x
public long x()Returns the value of thexrecord component.- Returns:
 - the value of the 
xrecord component 
 - 
y
public long y()Returns the value of theyrecord component.- Returns:
 - the value of the 
yrecord component 
 - 
z
public long z()Returns the value of thezrecord component.- Returns:
 - the value of the 
zrecord component 
 
 -