Class Pair<L,​R>


  • public class Pair<L,​R>
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Pair​(L left, R right)  
    • Constructor Detail

      • Pair

        public Pair​(L left,
                    R right)
    • Method Detail

      • getRight

        public R getRight()
      • getLeft

        public L getLeft()
      • create

        public static <A,​B> Pair<A,​B> create​(A left,
                                                         B right)
      • equals

        public final boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • equal

        public static final boolean equal​(java.lang.Object o1,
                                          java.lang.Object o2)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object