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.Flux<V> |
pollFirst(int limit)
Retrieves and removes the head elements of this queue.
|
reactor.core.publisher.Mono<V> |
pollLast()
Retrieves and removes element at the tail of this deque.
|
reactor.core.publisher.Flux<V> |
pollLast(int limit)
Retrieves and removes the tail elements of this queue.
|
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, 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, sizeInMemory, 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.Flux<V> pollLast(int limit)
limit
param.reactor.core.publisher.Flux<V> pollFirst(int limit)
limit
param.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–2020 Redisson. All rights reserved.