Class Pair<K,​L>

  • All Implemented Interfaces:
    PoolableObject

    public class Pair<K,​L>
    extends java.lang.Object
    implements PoolableObject
    Key : Value pair implementation.
    Author:
    Alexey Stashok
    • Constructor Detail

      • Pair

        public Pair()
      • Pair

        public Pair​(K first,
                    L second)
    • Method Detail

      • getFirst

        public K getFirst()
      • setFirst

        public void setFirst​(K first)
      • getSecond

        public L getSecond()
      • setSecond

        public void setSecond​(L second)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object