Interface RDequeReactive<V>

    • Method Detail

      • descendingIterator

        org.reactivestreams.Publisher<V> descendingIterator()
      • removeLastOccurrence

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

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

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

        org.reactivestreams.Publisher<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

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

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

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

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

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

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

        org.reactivestreams.Publisher<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

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

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

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

        org.reactivestreams.Publisher<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