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

- Packages that use Triple
  Package | Description
  --- | ---
  org.apache.commons.lang3.tuple | Tuple classes, starting with a Pair class in version 3.0.

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

    Subclasses of Triple in org.apache.commons.lang3.tuple
    Modifier and Type | Class and 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 and Description
    --- | ---
    `static Triple<?,?,?>[]` | Triple.`EMPTY_ARRAY` An empty array.

    Methods in org.apache.commons.lang3.tuple that return Triple
    Modifier and Type | Method and 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 and 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.

Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.