Module ilusr.core

Class Tuple<K,​V>

  • Type Parameters:
    K - The key type.
    V - The value type.

    public class Tuple<K,​V>
    extends Object
    Author:
    Jeff Riggle
    • Constructor Detail

      • Tuple

        public Tuple​(K key,
                     V value)
        Parameters:
        key - The key.
        value - The value.
    • Method Detail

      • key

        public K key()
        Returns:
        The key.
      • key

        public void key​(K key)
        Parameters:
        key - The new key.
      • value

        public V value()
        Returns:
        The value.
      • value

        public void value​(V value)
        Parameters:
        value - The new value.