Class Pair<T1,​T2>


  • public class Pair<T1,​T2>
    extends Object
    Generic immutable container which has two values of possibly different types.
    • Constructor Detail

      • Pair

        public Pair​(T1 left,
                    T2 right)
    • Method Detail

      • getLeft

        public T1 getLeft()
      • getRight

        public T2 getRight()