Record Class Pair<T,U>
java.lang.Object
java.lang.Record
io.github.syst3ms.skriptparser.util.Pair<T,U>
- Type Parameters:
T- type of the first valueU- type of the second value
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.getFirst()Retrieves the first elementRetrieves the second elementfinal inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Pair
-
-
Method Details
-
getFirst
-
getSecond
-
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). -
toString
-
hashCode
-