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

Packages that use ImmutablePair
Package
Description
org.apache.commons.lang3.time
Provides classes and methods to work with dates and durations.
org.apache.commons.lang3.tuple
Provides tuple classes, both mutable and immutable `Pair` and `Triple`.

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

  Subclasses of ImmutablePair in org.apache.commons.lang3.time
  Modifier and Type
  Class
  Description
  `static final class`
  `StopWatch.Split`
  Stores a split as a label and duration.

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