Package org.redisson.api
Interface RListRx<V>
-
- Type Parameters:
V
- the type of elements held in this collection
- All Superinterfaces:
RCollectionRx<V>
,RExpirableRx
,RObjectRx
,RSortableRx<List<V>>
public interface RListRx<V> extends RCollectionRx<V>, RSortableRx<List<V>>
list functions- Author:
- Nikita Koksharov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.reactivex.Flowable<Void>
add(int index, V element)
io.reactivex.Flowable<Integer>
addAfter(V elementToFind, V element)
Addelement
afterelementToFind
io.reactivex.Flowable<Boolean>
addAll(int index, Collection<? extends V> coll)
io.reactivex.Flowable<Integer>
addBefore(V elementToFind, V element)
Addelement
beforeelementToFind
io.reactivex.Flowable<V>
descendingIterator()
io.reactivex.Flowable<V>
descendingIterator(int startIndex)
io.reactivex.Flowable<Void>
fastRemove(int index)
Remove object by specified indexio.reactivex.Flowable<Void>
fastSet(int index, V element)
io.reactivex.Flowable<V>
get(int index)
io.reactivex.Flowable<List<V>>
get(int... indexes)
Loads elements by specifiedindexes
io.reactivex.Flowable<Integer>
indexOf(Object o)
io.reactivex.Flowable<V>
iterator(int startIndex)
io.reactivex.Flowable<Integer>
lastIndexOf(Object o)
io.reactivex.Flowable<List<V>>
readAll()
Read all elements at onceio.reactivex.Flowable<V>
remove(int index)
io.reactivex.Flowable<V>
set(int index, V element)
io.reactivex.Flowable<Void>
trim(int fromIndex, int toIndex)
Trim list and remains elements only in specified rangefromIndex
, inclusive, andtoIndex
, inclusive.-
Methods inherited from interface org.redisson.api.RCollectionRx
add, addAll, addAll, contains, containsAll, iterator, remove, removeAll, retainAll, size
-
Methods inherited from interface org.redisson.api.RExpirableRx
clearExpire, expire, expireAt, expireAt, remainTimeToLive
-
Methods inherited from interface org.redisson.api.RObjectRx
copy, delete, dump, getCodec, getName, isExists, migrate, move, rename, renamenx, restore, restore, restoreAndReplace, restoreAndReplace, touch, unlink
-
Methods inherited from interface org.redisson.api.RSortableRx
readSorted, readSorted, readSorted, readSorted, readSorted, readSorted, sortTo, sortTo, sortTo, sortTo, sortTo, sortTo
-
-
-
-
Method Detail
-
get
io.reactivex.Flowable<List<V>> get(int... indexes)
Loads elements by specifiedindexes
- Parameters:
indexes
- of elements- Returns:
- elements
-
addAfter
io.reactivex.Flowable<Integer> addAfter(V elementToFind, V element)
Addelement
afterelementToFind
- Parameters:
elementToFind
- - object to findelement
- - object to add- Returns:
- new list size
-
addBefore
io.reactivex.Flowable<Integer> addBefore(V elementToFind, V element)
Addelement
beforeelementToFind
- Parameters:
elementToFind
- - object to findelement
- - object to add- Returns:
- new list size
-
descendingIterator
io.reactivex.Flowable<V> descendingIterator()
-
descendingIterator
io.reactivex.Flowable<V> descendingIterator(int startIndex)
-
iterator
io.reactivex.Flowable<V> iterator(int startIndex)
-
addAll
io.reactivex.Flowable<Boolean> addAll(int index, Collection<? extends V> coll)
-
get
io.reactivex.Flowable<V> get(int index)
-
remove
io.reactivex.Flowable<V> remove(int index)
-
trim
io.reactivex.Flowable<Void> trim(int fromIndex, int toIndex)
Trim list and remains elements only in specified rangefromIndex
, inclusive, andtoIndex
, inclusive.- Parameters:
fromIndex
- - from indextoIndex
- - to index- Returns:
- void
-
fastRemove
io.reactivex.Flowable<Void> fastRemove(int index)
Remove object by specified index- Parameters:
index
- - index of object- Returns:
- void
-
-