Class Tuple<K,​V>

    • Constructor Detail

      • Tuple

        public Tuple()
    • Method Detail

      • clear

        public void clear()
      • add

        public void add​(Tuple<K,​V> tuple)
      • addPair

        public void addPair​(K key,
                            V value)
      • addPair

        public void addPair​(int index,
                            K key,
                            V value)
      • setPair

        public void setPair​(K key,
                            V value)
      • setPair

        public void setPair​(int index,
                            K key,
                            V value)
      • removeKey

        public void removeKey​(K key)
      • removePair

        public V removePair​(K key)
      • removePair

        public V removePair​(int index)
      • setValue

        public void setValue​(int index,
                             V value)
      • setValue

        public void setValue​(K key,
                             V value)
      • size

        public int size()
      • getKey

        public K getKey​(int index)
      • getKeys

        public List<K> getKeys()
      • getUniqueKeys

        public Set<K> getUniqueKeys()
      • indexOfKey

        public int indexOfKey​(K key)
      • getValue

        public V getValue​(int index)
      • getValue

        public V getValue​(K key)
      • getValues

        public List<V> getValues​(K key)
      • containsKey

        public boolean containsKey​(K key)
      • containsKeyValuePair

        public boolean containsKeyValuePair​(K key,
                                            V value)