Package com.treemap

Class Pair<L,R>

java.lang.Object
com.treemap.Pair<L,R>

public class Pair<L,R> extends Object
  • Constructor Details

    • Pair

      public Pair(L left, R right)
  • Method Details

    • 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(Object o)
      Overrides:
      equals in class Object
    • equal

      public static final boolean equal(Object o1, Object o2)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object