L - R - @Beta @SequentialOnly @Stateful public abstract static class NoCachingNoUpdating.DisposablePair<L,R> extends Object implements NoCachingNoUpdating
clone()/copy().NoCachingNoUpdating.DisposableArray<T>, NoCachingNoUpdating.DisposableDeque<T>, NoCachingNoUpdating.DisposableEntry<K,V>, NoCachingNoUpdating.DisposableObjArray, NoCachingNoUpdating.DisposablePair<L,R>, NoCachingNoUpdating.DisposableTriple<L,M,R>| Constructor and Description |
|---|
DisposablePair() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(BiConsumer<? super L,? super R> action) |
<U> U |
apply(BiFunction<? super L,? super R,U> func) |
Pair<L,R> |
copy() |
abstract L |
left() |
abstract R |
right() |
String |
toString() |
static <L,R> NoCachingNoUpdating.DisposablePair<L,R> |
wrap(Pair<L,R> p) |
public static <L,R> NoCachingNoUpdating.DisposablePair<L,R> wrap(Pair<L,R> p)
L - R - p - public abstract L left()
public abstract R right()
public <U> U apply(BiFunction<? super L,? super R,U> func)
public void accept(BiConsumer<? super L,? super R> action)
Copyright © 2021. All rights reserved.