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

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

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

  Subclasses of Triple in org.apache.commons.lang3.tuple
  Modifier and Type
  Class
  Description
  `class`
  `ImmutableTriple<L,M,R>`
  An immutable triple consisting of three `Object` elements.
  `class`
  `MutableTriple<L,M,R>`
  A mutable triple consisting of three `Object` elements.
  Fields in org.apache.commons.lang3.tuple declared as Triple
  Modifier and Type
  Field
  Description
  `static final Triple<?,?,?>[]`
  Triple.`EMPTY_ARRAY`
  An empty array.
  Methods in org.apache.commons.lang3.tuple that return Triple
  Modifier and Type
  Method
  Description
  `static <L, M, R> Triple<L,M,R>[]`
  Triple.`emptyArray()`
  Returns the empty array singleton that can be assigned without compiler warning.
  `static <L, M, R> Triple<L,M,R>`
  Triple.`of(L left, M middle, R right)`
  Obtains an immutable triple of three objects inferring the generic types.
  `static <L, M, R> Triple<L,M,R>`
  Triple.`ofNonNull(L left, M middle, R right)`
  Obtains an immutable triple of three non-null objects inferring the generic types.
  Methods in org.apache.commons.lang3.tuple with parameters of type Triple
  Modifier and Type
  Method
  Description
  `int`
  Triple.`compareTo(Triple<L,M,R> other)`
  Compares the triple based on the left element, followed by the middle element, finally the right element.