Class Pair<L,​R>

java.lang.Object
preponderous.ponder.misc.Pair<L,​R>
Type Parameters:
L - The type of the left object of the pair.
R - The type of the right object of the pair.

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

    • Pair

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

    • getLeft

      public L getLeft()
    • getRight

      public R getRight()
    • hashCode

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

      public boolean equals(Object object)
      Overrides:
      equals in class Object