Interface Deque<T>

  • All Superinterfaces:
    Iterable<T>

    public interface Deque<T>
    extends Iterable<T>
    A doubly linked list
    • Method Detail

      • addLast

        void addLast​(T t)
        Add a new element to the end of the deque
        Parameters:
        t - the element
      • clear

        void clear()
        clear the deque