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<Integer> |
addFirstIfExists(V... elements)
Adds element at the head of existing deque.
|
reactor.core.publisher.Mono<Void> |
addLast(V e)
Adds element at the tail of this deque.
|
reactor.core.publisher.Mono<Integer> |
addLastIfExists(V... elements)
Adds element at the tail of existing 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, readAlladd, addAll, addAll, contains, containsAll, iterator, remove, removeAll, retainAll, sizeclearExpire, expire, expireAt, expireAt, remainTimeToLiveaddListener, copy, delete, dump, getCodec, getIdleTime, getName, isExists, migrate, move, removeListener, rename, renamenx, restore, restore, restoreAndReplace, restoreAndReplace, sizeInMemory, touch, unlinkreactor.core.publisher.Mono<Integer> addFirstIfExists(V... elements)
elements - - elements to addreactor.core.publisher.Mono<Integer> addLastIfExists(V... elements)
elements - - elements to addreactor.core.publisher.Flux<V> descendingIterator()
reactor.core.publisher.Mono<Boolean> removeLastOccurrence(Object o)
oo - - elementtrue if object has been removed otherwise falsereactor.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)
oo - - element to removetrue if object has been removed otherwise falsereactor.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 falsereactor.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.