Class AbstractDelegatingMap<K,V>

java.lang.Object
org.infinispan.commons.util.AbstractDelegatingMap<K,V>
All Implemented Interfaces:
Map<K,V>
Direct Known Subclasses:
AbstractDelegatingConcurrentMap

public abstract class AbstractDelegatingMap<K,V> extends Object implements Map<K,V>
  • Constructor Details

    • AbstractDelegatingMap

      public AbstractDelegatingMap()
  • Method Details

    • delegate

      protected abstract Map<K,V> delegate()
    • putIfAbsent

      public V putIfAbsent(K key, V value)
    • size

      public int size()
    • isEmpty

      public boolean isEmpty()
    • containsKey

      public boolean containsKey(Object key)
    • containsValue

      public boolean containsValue(Object value)
    • get

      public V get(Object key)
    • getOrDefault

      public V getOrDefault(Object key, V defaultValue)
    • put

      public V put(K key, V value)
    • remove

      public V remove(Object key)
    • remove

      public boolean remove(Object key, Object value)
    • replace

      public boolean replace(K key, V oldValue, V newValue)
    • replace

      public V replace(K key, V value)
    • replaceAll

      public void replaceAll(BiFunction<? super K,? super V,? extends V> function)
    • compute

      public V compute(K key, BiFunction<? super K,? super V,? extends V> remappingFunction)
    • computeIfAbsent

      public V computeIfAbsent(K key, Function<? super K,? extends V> mappingFunction)
    • computeIfPresent

      public V computeIfPresent(K key, BiFunction<? super K,? super V,? extends V> remappingFunction)
    • merge

      public V merge(K key, V value, BiFunction<? super V,? super V,? extends V> remappingFunction)
    • forEach

      public void forEach(BiConsumer<? super K,? super V> action)
    • putAll

      public void putAll(Map<? extends K,? extends V> m)
    • clear

      public void clear()
    • keySet

      public Set<K> keySet()
    • values

      public Collection<V> values()
    • entrySet

      public Set<Map.Entry<K,V>> entrySet()