Package com.formdev.flatlaf.util
Class SoftCache<K,V>
- java.lang.Object
-
- com.formdev.flatlaf.util.SoftCache<K,V>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsKey(Object key)booleancontainsValue(Object value)Not supported.Set<Map.Entry<K,V>>entrySet()Not supported.voidforEach(BiConsumer<? super K,? super V> action)Not supported.Vget(Object key)booleanisEmpty()Set<K>keySet()Vput(K key, V value)voidputAll(Map<? extends K,? extends V> m)Vremove(Object key)voidreplaceAll(BiFunction<? super K,? super V,? extends V> function)Not supported.intsize()Collection<V>values()Not supported.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace
-
-
-
-
Method Detail
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceMap<K,V>
-
containsValue
public boolean containsValue(Object value)
Not supported. ThrowsUnsupportedOperationException.- Specified by:
containsValuein interfaceMap<K,V>
-
values
public Collection<V> values()
Not supported. ThrowsUnsupportedOperationException.
-
entrySet
public Set<Map.Entry<K,V>> entrySet()
Not supported. ThrowsUnsupportedOperationException.
-
forEach
public void forEach(BiConsumer<? super K,? super V> action)
Not supported. ThrowsUnsupportedOperationException.
-
replaceAll
public void replaceAll(BiFunction<? super K,? super V,? extends V> function)
Not supported. ThrowsUnsupportedOperationException.- Specified by:
replaceAllin interfaceMap<K,V>
-
-