Class Pair<A,​B>


  • public class Pair<A,​B>
    extends Object
    • Constructor Detail

      • Pair

        public Pair​(A first,
                    B second)
    • Method Detail

      • first

        public A first()
      • second

        public B second()
      • hashCode

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

        public static <A,​B> Pair<A,​B> create​(A first,
                                                         B second)
      • of

        public static <A,​B> Pair<A,​B> of​(A a,
                                                     B b)