Class Pair<L,​R>


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

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

      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      L getLeft()  
      R getRight()  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Pair

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

      • getLeft

        public L getLeft()
      • getRight

        public R getRight()
      • hashCode

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

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