Class ListBucket<V>
java.lang.Object
org.infinispan.multimap.impl.ListBucket<V>
- All Implemented Interfaces:
SortableBucket<V>
Bucket used to store ListMultimap values.
- Since:
- 15.0
- Author:
- Katia Aresti
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.infinispan.multimap.impl.SortableBucket
SortableBucket.SortOptions -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic <V> ListBucket<V> create(Collection<V> value) booleaninthashCode()index(long index) booleanisEmpty()offer(Collection<V> value, boolean first) poll(boolean first, long count) rotate(boolean rotateRight) longsize()List<ScoredValue<V>> sort(SortableBucket.SortOptions sortOptions) stream()sublist(long from, long to) toDeque()toString()trim(long from, long to) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.infinispan.multimap.impl.SortableBucket
sort
-
Constructor Details
-
ListBucket
public ListBucket() -
ListBucket
-
-
Method Details
-
create
-
contains
-
isEmpty
public boolean isEmpty() -
size
public long size() -
toDeque
-
toString
-
offer
-
set
-
sublist
-
trim
-
indexOf
-
insert
-
remove
-
rotate
-
stream
- Specified by:
streamin interfaceSortableBucket<V>
-
sort
- Specified by:
sortin interfaceSortableBucket<V>
-
replace
-
poll
-
index
-
equals
-
hashCode
-