V - the type of elements held in this collectionpublic interface RDequeRx<V> extends RQueueRx<V>
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.rxjava3.core.Completable |
addFirst(V e)
Adds element at the head of this deque.
|
io.reactivex.rxjava3.core.Single<Integer> |
addFirstIfExists(V... elements)
Adds element at the head of existing deque.
|
io.reactivex.rxjava3.core.Completable |
addLast(V e)
Adds element at the tail of this deque.
|
io.reactivex.rxjava3.core.Single<Integer> |
addLastIfExists(V... elements)
Adds element at the tail of existing deque.
|
io.reactivex.rxjava3.core.Flowable<V> |
descendingIterator() |
io.reactivex.rxjava3.core.Maybe<V> |
getLast()
Returns element at the tail of this deque
or
null if there are no elements in deque. |
io.reactivex.rxjava3.core.Single<Boolean> |
offerFirst(V e)
Adds element at the head of this deque.
|
io.reactivex.rxjava3.core.Single<Boolean> |
offerLast(V e)
Adds element at the tail of this deque.
|
io.reactivex.rxjava3.core.Maybe<V> |
peekFirst()
Returns element at the head of this deque
or
null if there are no elements in deque. |
io.reactivex.rxjava3.core.Maybe<V> |
peekLast()
Returns element at the tail of this deque
or
null if there are no elements in deque. |
io.reactivex.rxjava3.core.Maybe<V> |
pollFirst()
Retrieves and removes element at the head of this deque.
|
io.reactivex.rxjava3.core.Flowable<V> |
pollFirst(int limit)
Retrieves and removes the head elements of this queue.
|
io.reactivex.rxjava3.core.Maybe<V> |
pollLast()
Retrieves and removes element at the tail of this deque.
|
io.reactivex.rxjava3.core.Flowable<V> |
pollLast(int limit)
Retrieves and removes the tail elements of this queue.
|
io.reactivex.rxjava3.core.Maybe<V> |
pop()
Retrieves and removes element at the head of this deque.
|
io.reactivex.rxjava3.core.Completable |
push(V e)
Adds element at the head of this deque.
|
io.reactivex.rxjava3.core.Maybe<V> |
removeFirst()
Retrieves and removes the first element of deque.
|
io.reactivex.rxjava3.core.Single<Boolean> |
removeFirstOccurrence(Object o)
Removes first occurrence of element
o |
io.reactivex.rxjava3.core.Maybe<V> |
removeLast()
Retrieves and removes the last element of deque.
|
io.reactivex.rxjava3.core.Single<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, unlinkio.reactivex.rxjava3.core.Single<Integer> addFirstIfExists(V... elements)
elements - - elements to addio.reactivex.rxjava3.core.Single<Integer> addLastIfExists(V... elements)
elements - - elements to addio.reactivex.rxjava3.core.Flowable<V> descendingIterator()
io.reactivex.rxjava3.core.Single<Boolean> removeLastOccurrence(Object o)
oo - - elementtrue if object has been removed otherwise falseio.reactivex.rxjava3.core.Maybe<V> removeLast()
null if there are no elements in deque.io.reactivex.rxjava3.core.Maybe<V> removeFirst()
null if there are no elements in deque.io.reactivex.rxjava3.core.Single<Boolean> removeFirstOccurrence(Object o)
oo - - element to removetrue if object has been removed otherwise falseio.reactivex.rxjava3.core.Completable push(V e)
e - - element to addio.reactivex.rxjava3.core.Maybe<V> pop()
null if there are no elements in deque.io.reactivex.rxjava3.core.Maybe<V> pollLast()
null if there are no elements in deque.io.reactivex.rxjava3.core.Maybe<V> pollFirst()
null if there are no elements in deque.io.reactivex.rxjava3.core.Flowable<V> pollLast(int limit)
limit param.io.reactivex.rxjava3.core.Flowable<V> pollFirst(int limit)
limit param.io.reactivex.rxjava3.core.Maybe<V> peekLast()
null if there are no elements in deque.io.reactivex.rxjava3.core.Maybe<V> peekFirst()
null if there are no elements in deque.io.reactivex.rxjava3.core.Single<Boolean> offerLast(V e)
e - - element to addtrue if element was added to this deque otherwise falseio.reactivex.rxjava3.core.Maybe<V> getLast()
null if there are no elements in deque.io.reactivex.rxjava3.core.Completable addLast(V e)
e - - element to addio.reactivex.rxjava3.core.Completable addFirst(V e)
e - - element to addCopyright © 2014–2020 Redisson. All rights reserved.