| Modifier and Type | Field and Description |
|---|---|
F |
first
The first value in this tuple.
|
S |
second
The second value in this tuple.
|
| Modifier and Type | Method and Description |
|---|---|
static <F,S> Pair<F,S> |
of(F first,
S second)
Creates a new
Pair. |
public final F first
public final S second
@Nonnull public static <F,S> Pair<F,S> of(@Nullable F first, @Nullable S second)
Pair.F - the generic type of the 1st. value in this tuple.S - the generic type of the 2nd. value in this tuple.first - the 1st. value in this tuple.second - the 2nd. value in this tuple.Pair.Copyright © 2014–2019 AssertJ. All rights reserved.