- getFirst
Gets the first element in this pair.
- getSecond
Gets the second element in this pair.
- of
Obtains an instance from an Object and a double.
- <init>
- compareTo
Compares the pair based on the first element followed by the second element. The
first element must
- elements
Gets the elements from this pair as a list. The list returns each element in the
pair in order.
- hashCode
- ofPair
Obtains an instance from a Pair.
- size
Gets the number of elements held by this pair.
- toPair
Converts this pair to an object-based Pair.
- toString
Gets the pair using a standard string format. The standard format is '[$first,
$second]'. Spaces aro