V - valuepublic interface RCollectionRx<V> extends RExpirableRx
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<Boolean> |
add(V e)
Adds element into this collection.
|
io.reactivex.Single<Boolean> |
addAll(Collection<? extends V> c)
Adds all elements contained in the specified collection
|
io.reactivex.Single<Boolean> |
addAll(org.reactivestreams.Publisher<? extends V> c)
Adds all elements contained in the specified collection
|
io.reactivex.Single<Boolean> |
contains(V o)
Returns
true if this collection contains encoded state of the specified element. |
io.reactivex.Single<Boolean> |
containsAll(Collection<?> c)
Returns
true if this collection contains all of the elements
in the specified collection. |
io.reactivex.Flowable<V> |
iterator()
Returns iterator over collection elements
|
io.reactivex.Single<Boolean> |
remove(V o)
Removes a single instance of the specified element from this
collection, if it is present (optional operation).
|
io.reactivex.Single<Boolean> |
removeAll(Collection<?> c)
Removes all of this collection's elements that are also contained in the
specified collection (optional operation).
|
io.reactivex.Single<Boolean> |
retainAll(Collection<?> c)
Retains only the elements in this collection that are contained in the
specified collection (optional operation).
|
io.reactivex.Single<Integer> |
size()
Returns number of elements in this collection.
|
clearExpire, expire, expireAt, expireAt, remainTimeToLiveaddListener, copy, delete, dump, getCodec, getName, isExists, migrate, move, removeListener, rename, renamenx, restore, restore, restoreAndReplace, restoreAndReplace, sizeInMemory, touch, unlinkio.reactivex.Flowable<V> iterator()
io.reactivex.Single<Boolean> retainAll(Collection<?> c)
c - collection containing elements to be retained in this collectiontrue if this collection changed as a result of the callio.reactivex.Single<Boolean> removeAll(Collection<?> c)
c - collection containing elements to be removed from this collectiontrue if this collection changed as a result of the
callio.reactivex.Single<Boolean> contains(V o)
true if this collection contains encoded state of the specified element.o - element whose presence in this collection is to be testedtrue if this collection contains the specified
element and false otherwiseio.reactivex.Single<Boolean> containsAll(Collection<?> c)
true if this collection contains all of the elements
in the specified collection.c - collection to be checked for containment in this collectiontrue if this collection contains all of the elements
in the specified collectionio.reactivex.Single<Boolean> remove(V o)
o - element to be removed from this collection, if presenttrue if an element was removed as a result of this callio.reactivex.Single<Integer> size()
io.reactivex.Single<Boolean> add(V e)
e - - element to addtrue if an element was added
and false if it is already presentio.reactivex.Single<Boolean> addAll(org.reactivestreams.Publisher<? extends V> c)
c - - collection of elements to addtrue if at least one element was added
and false if all elements are already presentio.reactivex.Single<Boolean> addAll(Collection<? extends V> c)
c - - collection of elements to addtrue if at least one element was added
and false if all elements are already presentCopyright © 2014–2019 Redisson. All rights reserved.