Class 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 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