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