| Package | Description |
|---|---|
| de.flapdoodle.types |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutablePair<FIRST,SECOND>
Immutable implementation of
Pair. |
| Modifier and Type | Method and Description |
|---|---|
<FIRST_MAPPED,SECOND_MAPPED> |
Pair.map(Function<FIRST,FIRST_MAPPED> first,
Function<SECOND,SECOND_MAPPED> second) |
<T> Pair<T,SECOND> |
Pair.mapFirst(Function<FIRST,T> transformation) |
<T> Pair<FIRST,T> |
Pair.mapSecond(Function<SECOND,T> transformation) |
static <FIRST,SECOND> |
Pair.of(FIRST first,
SECOND second) |
| Modifier and Type | Method and Description |
|---|---|
static <FIRST,SECOND> |
ImmutablePair.copyOf(Pair<FIRST,SECOND> instance)
Creates an immutable copy of a
Pair value. |
ImmutablePair.Builder<FIRST,SECOND> |
ImmutablePair.Builder.from(Pair<FIRST,SECOND> instance)
Fill a builder with attribute values from the provided
Pair instance. |
Copyright © 2023. All rights reserved.