V - the type of elements held in this collectionpublic interface RDequeRx<V> extends RQueueRx<V>
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Flowable<Void> |
addFirst(V e)
Adds element at the head of this deque.
|
io.reactivex.Flowable<Void> |
addLast(V e)
Adds element at the tail of this deque.
|
io.reactivex.Flowable<V> |
descendingIterator() |
io.reactivex.Flowable<V> |
getLast()
Returns element at the tail of this deque
or
null if there are no elements in deque. |
io.reactivex.Flowable<Boolean> |
offerFirst(V e)
Adds element at the head of this deque.
|
io.reactivex.Flowable<Boolean> |
offerLast(V e)
Adds element at the tail of this deque.
|
io.reactivex.Flowable<V> |
peekFirst()
Returns element at the head of this deque
or
null if there are no elements in deque. |
io.reactivex.Flowable<V> |
peekLast()
Returns element at the tail of this deque
or
null if there are no elements in deque. |
io.reactivex.Flowable<V> |
pollFirst()
Retrieves and removes element at the head of this deque.
|
io.reactivex.Flowable<V> |
pollLast()
Retrieves and removes element at the tail of this deque.
|
io.reactivex.Flowable<V> |
pop()
Retrieves and removes element at the head of this deque.
|
io.reactivex.Flowable<Void> |
push(V e)
Adds element at the head of this deque.
|
io.reactivex.Flowable<V> |
removeFirst()
Retrieves and removes the first element of deque.
|
io.reactivex.Flowable<Boolean> |
removeFirstOccurrence(Object o)
Removes first occurrence of element
o |
io.reactivex.Flowable<V> |
removeLast()
Retrieves and removes the last element of deque.
|
io.reactivex.Flowable<Boolean> |
removeLastOccurrence(Object o)
Removes last occurrence of element
o |
offer, peek, poll, pollLastAndOfferFirstToadd, addAll, addAll, contains, containsAll, iterator, remove, removeAll, retainAll, sizeclearExpire, expire, expireAt, expireAt, remainTimeToLiveio.reactivex.Flowable<V> descendingIterator()
io.reactivex.Flowable<Boolean> removeLastOccurrence(Object o)
oo - - elementtrue if object has been removed otherwise falseio.reactivex.Flowable<V> removeLast()
null if there are no elements in deque.io.reactivex.Flowable<V> removeFirst()
null if there are no elements in deque.io.reactivex.Flowable<Boolean> removeFirstOccurrence(Object o)
oo - - element to removetrue if object has been removed otherwise falseio.reactivex.Flowable<Void> push(V e)
e - - element to addio.reactivex.Flowable<V> pop()
null if there are no elements in deque.io.reactivex.Flowable<V> pollLast()
null if there are no elements in deque.io.reactivex.Flowable<V> pollFirst()
null if there are no elements in deque.io.reactivex.Flowable<V> peekLast()
null if there are no elements in deque.io.reactivex.Flowable<V> peekFirst()
null if there are no elements in deque.io.reactivex.Flowable<Boolean> offerLast(V e)
e - - element to addtrue if element was added to this deque otherwise falseio.reactivex.Flowable<V> getLast()
null if there are no elements in deque.io.reactivex.Flowable<Void> addLast(V e)
e - - element to addio.reactivex.Flowable<Void> addFirst(V e)
e - - element to addCopyright © 2014–2018 The Redisson Project. All rights reserved.