V
- the type of elements held in this collectionRCollectionReactive<V>
, RExpirableReactive
, RObjectReactive
, RQueueReactive<V>
RBlockingDequeReactive<V>
RedissonBlockingDequeReactive
, RedissonDequeReactive
public interface RDequeReactive<V> extends RQueueReactive<V>
Deque
Modifier and Type | Method | Description |
---|---|---|
org.reactivestreams.Publisher<Void> |
addFirst(V e) |
Adds element at the head of this deque.
|
org.reactivestreams.Publisher<Void> |
addLast(V e) |
Adds element at the tail of this deque.
|
org.reactivestreams.Publisher<V> |
descendingIterator() |
|
org.reactivestreams.Publisher<V> |
getLast() |
Returns element at the tail of this deque
or
null if there are no elements in deque. |
org.reactivestreams.Publisher<Boolean> |
offerFirst(V e) |
Adds element at the head of this deque.
|
org.reactivestreams.Publisher<Integer> |
offerLast(V e) |
Adds element at the tail of this deque.
|
org.reactivestreams.Publisher<V> |
peekFirst() |
Returns element at the head of this deque
or
null if there are no elements in deque. |
org.reactivestreams.Publisher<V> |
peekLast() |
Returns element at the tail of this deque
or
null if there are no elements in deque. |
org.reactivestreams.Publisher<V> |
pollFirst() |
Retrieves and removes element at the head of this deque.
|
org.reactivestreams.Publisher<V> |
pollLast() |
Retrieves and removes element at the tail of this deque.
|
org.reactivestreams.Publisher<V> |
pop() |
Retrieves and removes element at the head of this deque.
|
org.reactivestreams.Publisher<Void> |
push(V e) |
Adds element at the head of this deque.
|
org.reactivestreams.Publisher<V> |
removeFirst() |
Retrieves and removes the first element of deque.
|
org.reactivestreams.Publisher<Boolean> |
removeFirstOccurrence(Object o) |
Removes first occurrence of element
o |
org.reactivestreams.Publisher<V> |
removeLast() |
Retrieves and removes the last element of deque.
|
org.reactivestreams.Publisher<Boolean> |
removeLastOccurrence(Object o) |
Removes last occurrence of element
o |
add, addAll, addAll, contains, containsAll, iterator, remove, removeAll, retainAll, size
clearExpire, expire, expireAt, expireAt, remainTimeToLive
copy, delete, dump, getCodec, getName, isExists, migrate, move, rename, renamenx, restore, restore, restoreAndReplace, restoreAndReplace, touch, unlink
offer, peek, poll, pollLastAndOfferFirstTo
org.reactivestreams.Publisher<V> descendingIterator()
org.reactivestreams.Publisher<Boolean> removeLastOccurrence(Object o)
o
o
- - elementtrue
if object has been removed otherwise false
org.reactivestreams.Publisher<V> removeLast()
null
if there are no elements in deque.org.reactivestreams.Publisher<V> removeFirst()
null
if there are no elements in deque.org.reactivestreams.Publisher<Boolean> removeFirstOccurrence(Object o)
o
o
- - element to removetrue
if object has been removed otherwise false
org.reactivestreams.Publisher<Void> push(V e)
e
- - element to addorg.reactivestreams.Publisher<V> pop()
null
if there are no elements in deque.org.reactivestreams.Publisher<V> pollLast()
null
if there are no elements in deque.org.reactivestreams.Publisher<V> pollFirst()
null
if there are no elements in deque.org.reactivestreams.Publisher<V> peekLast()
null
if there are no elements in deque.org.reactivestreams.Publisher<V> peekFirst()
null
if there are no elements in deque.org.reactivestreams.Publisher<Integer> offerLast(V e)
e
- - element to addtrue
if element was added to this deque otherwise false
org.reactivestreams.Publisher<V> getLast()
null
if there are no elements in deque.org.reactivestreams.Publisher<Void> addLast(V e)
e
- - element to addorg.reactivestreams.Publisher<Void> addFirst(V e)
e
- - element to addCopyright © 2014–2018 The Redisson Project. All rights reserved.