Package 

Class Pair


  • 
    public final class Pair<T, U>
    
                        
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final T left
      private final U right
    • Method Summary

      Modifier and Type Method Description
      T getLeft()
      U getRight()
      static <T, U> Pair<T, U> of(T left, U right)
      boolean hasLeft()
      boolean hasRight()
      boolean equals(Object o)
      int hashCode()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait