# Class Pair<L,R>

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

public class Pair<L,R> extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Pair(L left, R right)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static <A,B> Pair<A,B>`
  `create(A left, B right)`
  `static final boolean`
  `equal(Object o1, Object o2)`
  `final boolean`
  `equals(Object o)`
  `L`
  `getLeft()`
  `R`
  `getRight()`
  `int`
  `hashCode()`

  ### Methods inherited from class Object

  `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- ## 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`