# Uses of Class
org.apache.commons.lang3.tuple.ImmutablePair

Packages that use ImmutablePair
Package
Description
org.apache.commons.lang3.tuple
Provides tuple classes, both mutable and immutable `Pair` and `Triple`.

- ## Uses of ImmutablePair in org.apache.commons.lang3.tuple

  Fields in org.apache.commons.lang3.tuple declared as ImmutablePair
  Modifier and Type
  Field
  Description
  `static final ImmutablePair<?,?>[]`
  ImmutablePair.`EMPTY_ARRAY`
  An empty array.
  Methods in org.apache.commons.lang3.tuple that return ImmutablePair
  Modifier and Type
  Method
  Description
  `static <L, R> ImmutablePair<L,R>[]`
  ImmutablePair.`emptyArray()`
  Returns the empty array singleton that can be assigned without compiler warning.
  `static <L, R> ImmutablePair<L,R>`
  ImmutablePair.`nullPair()`
  Returns an immutable pair of nulls.
  `static <L, R> ImmutablePair<L,R>`
  ImmutablePair.`of(Map.Entry<L,R> pair)`
  Creates an immutable pair from a map entry.
  `static <L, R> ImmutablePair<L,R>`
  ImmutablePair.`of(L left, R right)`
  Creates an immutable pair of two objects inferring the generic types.
  `static <L, R> ImmutablePair<L,R>`
  ImmutablePair.`ofNonNull(L left, R right)`
  Creates an immutable pair of two non-null objects inferring the generic types.