Class Pair<A,​B>

    • Constructor Detail

      • Pair

        public Pair​(A f,
                    B s)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getFirst

        public A getFirst()
      • getSecond

        public B getSecond()
      • swap

        public Pair<B,​A> swap()
      • fromEntry

        public static <K2,​V2,​K1 extends K2,​V1 extends V2> Pair<K2,​V2> fromEntry​(Map.Entry<K1,​V1> entry)