V - the type of elements held in this collectionpublic interface RListReactive<V> extends RCollectionReactive<V>
| Modifier and Type | Method and Description |
|---|---|
org.reactivestreams.Publisher<Integer> |
add(long index,
V element) |
org.reactivestreams.Publisher<Integer> |
addAfter(V elementToFind,
V element)
Add
element after elementToFind |
org.reactivestreams.Publisher<Integer> |
addAll(long index,
Collection<? extends V> coll) |
org.reactivestreams.Publisher<Integer> |
addBefore(V elementToFind,
V element)
Add
element before elementToFind |
org.reactivestreams.Publisher<V> |
descendingIterator() |
org.reactivestreams.Publisher<V> |
descendingIterator(int startIndex) |
org.reactivestreams.Publisher<Void> |
fastRemove(long index)
Remove object by specified index
|
org.reactivestreams.Publisher<Void> |
fastSet(long index,
V element) |
org.reactivestreams.Publisher<List<V>> |
get(int... indexes)
Loads elements by specified
indexes |
org.reactivestreams.Publisher<V> |
get(long index) |
org.reactivestreams.Publisher<Long> |
indexOf(Object o) |
org.reactivestreams.Publisher<V> |
iterator(int startIndex) |
org.reactivestreams.Publisher<Long> |
lastIndexOf(Object o) |
org.reactivestreams.Publisher<List<V>> |
readAll()
Read all elements at once
|
org.reactivestreams.Publisher<V> |
remove(long index) |
org.reactivestreams.Publisher<V> |
set(long index,
V element) |
org.reactivestreams.Publisher<Void> |
trim(int fromIndex,
int toIndex)
Trim list and remains elements only in specified range
fromIndex, inclusive, and toIndex, inclusive.
|
add, addAll, addAll, contains, containsAll, iterator, remove, removeAll, retainAll, sizeclearExpire, expire, expireAt, expireAt, remainTimeToLiveorg.reactivestreams.Publisher<List<V>> get(int... indexes)
indexesindexes - of elementsorg.reactivestreams.Publisher<Integer> addAfter(V elementToFind, V element)
element after elementToFindelementToFind - - object to findelement - - object to addorg.reactivestreams.Publisher<Integer> addBefore(V elementToFind, V element)
element before elementToFindelementToFind - - object to findelement - - object to addorg.reactivestreams.Publisher<V> descendingIterator()
org.reactivestreams.Publisher<V> descendingIterator(int startIndex)
org.reactivestreams.Publisher<V> iterator(int startIndex)
org.reactivestreams.Publisher<Integer> addAll(long index, Collection<? extends V> coll)
org.reactivestreams.Publisher<V> get(long index)
org.reactivestreams.Publisher<V> remove(long index)
org.reactivestreams.Publisher<List<V>> readAll()
org.reactivestreams.Publisher<Void> trim(int fromIndex, int toIndex)
fromIndex - - from indextoIndex - - to indexorg.reactivestreams.Publisher<Void> fastRemove(long index)
index - - index of objectCopyright © 2014–2018 The Redisson Project. All rights reserved.