Class Pair<K,V>

java.lang.Object
lu.kbra.pclib.datastructure.tuple.Pair<K,V>
All Implemented Interfaces:
Cloneable, DeepCloneable, Tuple
Direct Known Subclasses:
ReadOnlyPair

public class Pair<K,V> extends Object implements DeepCloneable, Tuple
  • Field Details

    • key

      protected K key
    • value

      protected V value
  • Constructor Details

    • Pair

      public Pair()
    • Pair

      public Pair(K k, V v)
  • Method Details