Package | Description |
---|---|
com.whitestein.lsps.common.hack.lang3.tuple |
Modifier and Type | Class and Description |
---|---|
class |
ImmutablePair<L,R>
An immutable pair consisting of two
Object elements. |
Modifier and Type | Method and Description |
---|---|
static <L,R> Pair<L,R> |
Pair.of(L left,
R right)
Obtains an immutable pair of two objects inferring the generic types.
|
Modifier and Type | Method and Description |
---|---|
int |
Pair.compareTo(Pair<L,R> other)
Compares the pair based on the left element followed by the right element.
|
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.