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.DisposableBooleanArray, NoCachingNoUpdating.DisposableByteArray, NoCachingNoUpdating.DisposableCharArray, NoCachingNoUpdating.DisposableDeque<T>, NoCachingNoUpdating.DisposableDoubleArray, NoCachingNoUpdating.DisposableEntry<K,V>, NoCachingNoUpdating.DisposableFloatArray, NoCachingNoUpdating.DisposableIntArray, NoCachingNoUpdating.DisposableLongArray, NoCachingNoUpdating.DisposableObjArray, NoCachingNoUpdating.DisposableShortArray| Constructor and Description |
|---|
DisposableEntry() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Consumer<? super Map.Entry<K,V>> action) |
<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(Function<? super Map.Entry<K,V>,R> func)
R - func - Copyright © 2021. All rights reserved.