Package de.coreengine.util
Class Pair<KeyType,ValueType>
- java.lang.Object
-
- de.coreengine.util.Pair<KeyType,ValueType>
-
public class Pair<KeyType,ValueType> extends Object
Alternate class for javafx.util.Pair, as its not longer part of the JDK
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyType
getKey()
ValueType
getValue()
void
setKey(KeyType key)
Set the keyvoid
setValue(ValueType value)
Set the value
-
-
-
Method Detail
-
getKey
public KeyType getKey()
- Returns:
- Key of this pair
-
getValue
public ValueType getValue()
- Returns:
- Value of this pair
-
setKey
public void setKey(KeyType key)
Set the key- Parameters:
key
- New key
-
setValue
public void setValue(ValueType value)
Set the value- Parameters:
value
- New value
-
-