- of
Obtains a pair inferring the types.
- getFirst
Gets the first element in this pair.
- getSecond
Gets the second element in this pair.
- toString
Gets the pair using a standard string format. The standard format is '[$first,
$second]'. Spaces aro
- compareTo
Compares the pair based on the first element followed by the second element. The
element types must
- elements
Gets the elements from this pair as a list. The list returns each element in the
pair in order.
- equals
- hashCode
- size
Gets the number of elements held by this pair.