Package org.jparsec.containers.seq
Record Class Tuple3<T,U,W>
java.lang.Object
java.lang.Record
org.jparsec.containers.seq.Tuple3<T,U,W>
- All Implemented Interfaces:
SeqOps
-
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
-
Tuple3
Creates an instance of aTuple3record class.- Parameters:
one- the value for theonerecord componenttwo- the value for thetworecord componentthree- the value for thethreerecord component
-
-
Method Details
-
str
-
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 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
-