Class HashMapBucket<K,V>

java.lang.Object
org.infinispan.multimap.impl.HashMapBucket<K,V>

@ProtoTypeId(5303) public class HashMapBucket<K,V> extends Object
  • Method Details

    • create

      public static <K, V> HashMapBucket<K,V> create(Map<K,V> values)
    • putAll

      public int putAll(Map<K,V> map)
    • putIfAbsent

      public int putIfAbsent(Map<K,V> map)
    • getAll

      public Map<K,V> getAll(Set<K> keys)
    • converted

      public Map<K,V> converted()
    • isEmpty

      public boolean isEmpty()
    • removeAll

      public int removeAll(Collection<K> keys)
    • get

      public V get(K k)
    • size

      public int size()
    • values

      public Collection<V> values()
    • keySet

      public Set<K> keySet()
    • containsKey

      public boolean containsKey(K key)
    • replace

      public boolean replace(K key, V expected, V replacement)
      We do not use the original replace method here. Our implementation allows to create and delete entries.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object