Package | Description |
---|---|
org.apache.commons.lang3.tuple |
Tuple classes, starting with a Pair class in version 3.0.
|
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. |
Modifier and Type | Method and Description |
---|---|
static <L,M,R> Triple<L,M,R> |
Triple.of(L left,
M middle,
R right)
Obtains an immutable triple of from three objects inferring the generic types.
|
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–2014 The Apache Software Foundation. All rights reserved.