Class Pair<K,V>
java.lang.Object
javafx.util.Pair<K,V>
- Type Parameters:
K
- the key (name) typeV
- the value type
- All Implemented Interfaces:
Serializable
A convenience class to represent name-value pairs.
- Since:
- JavaFX 2.0
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Pair
-
-
Method Details
-
getKey
-
getValue
-
toString
-
hashCode
-
equals
Test this
Pair
for equality with anotherObject
.If the
Object
to be tested is not aPair
or isnull
, then this method returnsfalse
.Two
Pair
s are considered equal if and only if both the names and values are equal.
-