K - the key typeV - the value type@Beta @SequentialOnly @Stateful public abstract static class NoCachingNoUpdating.DisposableEntry<K,V> extends Object implements Map.Entry<K,V>, 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 |
|---|
DisposableEntry() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(BiConsumer<? super K,? super V> action) |
void |
accept(Consumer<? super Map.Entry<K,V>> action) |
<R> R |
apply(BiFunction<? super K,? super V,R> func) |
<R> R |
apply(Function<? super Map.Entry<K,V>,R> func) |
Map.Entry<K,V> |
copy() |
V |
setValue(V value)
Deprecated.
UnsupportedOperationException
|
String |
toString() |
static <K,V> NoCachingNoUpdating.DisposableEntry<K,V> |
wrap(Map.Entry<K,V> entry) |
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitcomparingByKey, comparingByKey, comparingByValue, comparingByValue, equals, getKey, getValue, hashCodepublic static <K,V> NoCachingNoUpdating.DisposableEntry<K,V> wrap(Map.Entry<K,V> entry)
K - the key typeV - the value typeentry - @Deprecated public V setValue(V value) throws UnsupportedOperationException
setValue in interface Map.Entry<K,V>value - UnsupportedOperationException - the unsupported operation exceptionpublic <R> R apply(BiFunction<? super K,? super V,R> func)
public void accept(BiConsumer<? super K,? super V> action)
Copyright © 2021. All rights reserved.