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

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

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

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