Interface RDequeRx<V>

    • Method Detail

      • descendingIterator

        io.reactivex.Flowable<V> descendingIterator()
      • removeLastOccurrence

        io.reactivex.Flowable<Boolean> removeLastOccurrence​(Object o)
        Removes last occurrence of element o
        Parameters:
        o - - element
        Returns:
        true if object has been removed otherwise false
      • removeLast

        io.reactivex.Flowable<V> removeLast()
        Retrieves and removes the last element of deque. Returns null if there are no elements in deque.
        Returns:
        element
      • removeFirst

        io.reactivex.Flowable<V> removeFirst()
        Retrieves and removes the first element of deque. Returns null if there are no elements in deque.
        Returns:
        element
      • removeFirstOccurrence

        io.reactivex.Flowable<Boolean> removeFirstOccurrence​(Object o)
        Removes first occurrence of element o
        Parameters:
        o - - element to remove
        Returns:
        true if object has been removed otherwise false
      • push

        io.reactivex.Flowable<Void> push​(V e)
        Adds element at the head of this deque.
        Parameters:
        e - - element to add
        Returns:
        void
      • pop

        io.reactivex.Flowable<V> pop()
        Retrieves and removes element at the head of this deque. Returns null if there are no elements in deque.
        Returns:
        element
      • pollLast

        io.reactivex.Flowable<V> pollLast()
        Retrieves and removes element at the tail of this deque. Returns null if there are no elements in deque.
        Returns:
        element
      • pollFirst

        io.reactivex.Flowable<V> pollFirst()
        Retrieves and removes element at the head of this deque. Returns null if there are no elements in deque.
        Returns:
        element
      • peekLast

        io.reactivex.Flowable<V> peekLast()
        Returns element at the tail of this deque or null if there are no elements in deque.
        Returns:
        element
      • peekFirst

        io.reactivex.Flowable<V> peekFirst()
        Returns element at the head of this deque or null if there are no elements in deque.
        Returns:
        element
      • offerLast

        io.reactivex.Flowable<Boolean> offerLast​(V e)
        Adds element at the tail of this deque.
        Parameters:
        e - - element to add
        Returns:
        true if element was added to this deque otherwise false
      • getLast

        io.reactivex.Flowable<V> getLast()
        Returns element at the tail of this deque or null if there are no elements in deque.
        Returns:
        element
      • addLast

        io.reactivex.Flowable<Void> addLast​(V e)
        Adds element at the tail of this deque.
        Parameters:
        e - - element to add
        Returns:
        void
      • addFirst

        io.reactivex.Flowable<Void> addFirst​(V e)
        Adds element at the head of this deque.
        Parameters:
        e - - element to add
        Returns:
        void
      • offerFirst

        io.reactivex.Flowable<Boolean> offerFirst​(V e)
        Adds element at the head of this deque.
        Parameters:
        e - - element to add
        Returns:
        true if element was added to this deque otherwise false