Package org.infinispan.multimap.impl
Class Bucket<V>
java.lang.Object
org.infinispan.multimap.impl.Bucket<V>
Bucket used to store MultiMap values, required as HashSet cannot be directly marshalled via ProtoStream.
- Since:
- 10.0
- Author:
- Ryan Emerson
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Bucket
public Bucket() -
Bucket
-
-
Method Details
-
contains
-
add
-
remove
-
removeIf
-
isEmpty
public boolean isEmpty() -
size
public int size() -
toSet
- Returns:
- a defensive copy of the
values
collection.
-
toList
- Returns:
- a defensive copy of the
values
collection if the cache supports duplicates.
-
toString
-