V
- valueRExpirableReactive
, RObjectReactive
RBlockingDequeReactive<V>
, RBlockingQueueReactive<V>
, RDequeReactive<V>
, RLexSortedSetReactive
, RListReactive<V>
, RQueueReactive<V>
, RSetCacheReactive<V>
, RSetReactive<V>
RedissonBlockingDequeReactive
, RedissonBlockingQueueReactive
, RedissonDequeReactive
, RedissonLexSortedSetReactive
, RedissonListReactive
, RedissonQueueReactive
, RedissonSetCacheReactive
, RedissonSetReactive
public interface RCollectionReactive<V> extends RExpirableReactive
Modifier and Type | Method | Description |
---|---|---|
org.reactivestreams.Publisher<Integer> |
add(V e) |
Adds element into this collection.
|
org.reactivestreams.Publisher<Integer> |
addAll(Collection<? extends V> c) |
Adds all elements contained in the specified collection
|
org.reactivestreams.Publisher<Integer> |
addAll(org.reactivestreams.Publisher<? extends V> c) |
Adds all elements contained in the specified collection
|
org.reactivestreams.Publisher<Boolean> |
contains(V o) |
Returns
true if this collection contains encoded state of the specified element. |
org.reactivestreams.Publisher<Boolean> |
containsAll(Collection<?> c) |
Returns
true if this collection contains all of the elements
in the specified collection. |
org.reactivestreams.Publisher<V> |
iterator() |
Returns iterator over collection elements
|
org.reactivestreams.Publisher<Boolean> |
remove(V o) |
Removes a single instance of the specified element from this
collection, if it is present (optional operation).
|
org.reactivestreams.Publisher<Boolean> |
removeAll(Collection<?> c) |
Removes all of this collection's elements that are also contained in the
specified collection (optional operation).
|
org.reactivestreams.Publisher<Boolean> |
retainAll(Collection<?> c) |
Retains only the elements in this collection that are contained in the
specified collection (optional operation).
|
org.reactivestreams.Publisher<Integer> |
size() |
Returns number of elements in this collection.
|
clearExpire, expire, expireAt, expireAt, remainTimeToLive
org.reactivestreams.Publisher<V> iterator()
org.reactivestreams.Publisher<Boolean> retainAll(Collection<?> c)
c
- collection containing elements to be retained in this collectionorg.reactivestreams.Publisher<Boolean> removeAll(Collection<?> c)
c
- collection containing elements to be removed from this collectiontrue
if this collection changed as a result of the
callorg.reactivestreams.Publisher<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
otherwiseorg.reactivestreams.Publisher<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 collectionorg.reactivestreams.Publisher<Boolean> remove(V o)
o
- element to be removed from this collection, if presenttrue
if an element was removed as a result of this callorg.reactivestreams.Publisher<Integer> size()
org.reactivestreams.Publisher<Integer> add(V e)
e
- - element to addtrue
if an element was added
and false
if it is already presentorg.reactivestreams.Publisher<Integer> 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 presentorg.reactivestreams.Publisher<Integer> 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–2018 The Redisson Project. All rights reserved.