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
Constructors -
Method Summary
-
Constructor Details
-
Pair
-
-
Method Details
-
getKey
-
getValue
-
toString
-
hashCode
-
equals
Test this
Pairfor equality with anotherObject.If the
Objectto be tested is not aPairor isnull, then this method returnsfalse.Two
Pairs are considered equal if and only if both the names and values are equal.
-