@Value.Immutable public abstract class Pair<FIRST,SECOND> extends Object
| Constructor and Description |
|---|
Pair() |
| Modifier and Type | Method and Description |
|---|---|
abstract FIRST |
first() |
<T> Pair<T,SECOND> |
mapFirst(Function<FIRST,T> transformation) |
<T> Pair<FIRST,T> |
mapSecond(Function<SECOND,T> transformation) |
static <FIRST,SECOND> |
of(FIRST first,
SECOND second) |
abstract SECOND |
second() |
Copyright © 2022. All rights reserved.