| Package | Description |
|---|---|
| org.apache.commons.lang3.tuple |
Provides tuple classes, both mutable and immutable
Pair and Triple. |
| Modifier and Type | Field and Description |
|---|---|
static ImmutableTriple<?,?,?>[] |
ImmutableTriple.EMPTY_ARRAY
An empty array.
|
| Modifier and Type | Method and Description |
|---|---|
static <L,M,R> ImmutableTriple<L,M,R>[] |
ImmutableTriple.emptyArray()
Gets the empty array singleton that can be assigned without compiler warning.
|
static <L,M,R> ImmutableTriple<L,M,R> |
ImmutableTriple.nullTriple()
Gets the immutable triple of nulls singleton.
|
static <L,M,R> ImmutableTriple<L,M,R> |
ImmutableTriple.of(L left,
M middle,
R right)
Creates an immutable triple of three objects inferring the generic types.
|
static <L,M,R> ImmutableTriple<L,M,R> |
ImmutableTriple.ofNonNull(L left,
M middle,
R right)
Creates an immutable triple of three non-null objects inferring the generic types.
|
Copyright © 2001–2025 The Apache Software Foundation. All rights reserved.