Record Class Triplet<T,U,V>
java.lang.Object
java.lang.Record
com.expedient.adventofcodejade.Triplet<T,U,V>
-
Constructor Summary
Constructors -
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.one()Returns the value of theonerecord component.three()Returns the value of thethreerecord component.final StringtoString()Returns a string representation of this record class.two()Returns the value of thetworecord component.
-
Constructor Details
-
Triplet
-
-
Method Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
one
Returns the value of theonerecord component.- Returns:
- the value of the
onerecord component
-
two
Returns the value of thetworecord component.- Returns:
- the value of the
tworecord component
-
three
Returns the value of thethreerecord component.- Returns:
- the value of the
threerecord component
-