public class IndirectMap<K,V> extends IndirectMap<K,V>
IndirectMap
.Constructor and Description |
---|
IndirectMap() |
IndirectMap(int initialCapacity) |
IndirectMap(int initialCapacity,
float loadFactor) |
IndirectMap(Map<? extends K,? extends V> m) |
Modifier and Type | Method and Description |
---|---|
V |
compute(K key,
BiFunction<? super K,? super V,? extends V> remappingFunction) |
V |
computeIfAbsent(K key,
Function<? super K,? extends V> mappingFunction) |
V |
computeIfPresent(K key,
BiFunction<? super K,? super V,? extends V> remappingFunction) |
Set<Map.Entry<K,V>> |
entrySet() |
void |
forEach(BiConsumer<? super K,? super V> action) |
V |
getOrDefault(Object key,
V defaultValue) |
Set<K> |
keySet() |
V |
merge(K key,
V value,
BiFunction<? super V,? super V,? extends V> remappingFunction) |
V |
putIfAbsent(K key,
V value) |
boolean |
remove(Object key,
Object value) |
V |
replace(K key,
V value) |
boolean |
replace(K key,
V oldValue,
V newValue) |
void |
replaceAll(BiFunction<? super K,? super V,? extends V> function) |
Collection<V> |
values() |
_persistence_getPropertyChangeListener, _persistence_setPropertyChangeListener, clear, clearDeferredChanges, clone, contains, containsKey, containsValue, elements, equals, get, getAddedElements, getDelegateObject, getRemovedElements, getTrackedAttributeName, getValueHolder, hasDeferredChanges, hashCode, hasTrackedPropertyChangeListener, isEmpty, isInstantiated, keys, put, putAll, remove, setTrackedAttributeName, setUseLazyInstantiation, setValueHolder, size, toString
public IndirectMap()
public IndirectMap(int initialCapacity)
public IndirectMap(int initialCapacity, float loadFactor)
public Set<Map.Entry<K,V>> entrySet()
entrySet
in interface Map<K,V>
entrySet
in class IndirectMap<K,V>
Hashtable.entrySet()
public Set<K> keySet()
keySet
in interface Map<K,V>
keySet
in class IndirectMap<K,V>
Hashtable.keySet()
public Collection<V> values()
values
in interface Map<K,V>
values
in class IndirectMap<K,V>
Hashtable.values()
public V computeIfAbsent(K key, Function<? super K,? extends V> mappingFunction)
computeIfAbsent
in interface Map<K,V>
computeIfAbsent
in class Hashtable<K,V>
public V computeIfPresent(K key, BiFunction<? super K,? super V,? extends V> remappingFunction)
computeIfPresent
in interface Map<K,V>
computeIfPresent
in class Hashtable<K,V>
public void forEach(BiConsumer<? super K,? super V> action)
public V getOrDefault(Object key, V defaultValue)
getOrDefault
in interface Map<K,V>
getOrDefault
in class Hashtable<K,V>
public V putIfAbsent(K key, V value)
putIfAbsent
in interface Map<K,V>
putIfAbsent
in class Hashtable<K,V>
public void replaceAll(BiFunction<? super K,? super V,? extends V> function)
replaceAll
in interface Map<K,V>
replaceAll
in class Hashtable<K,V>
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference