Interface Deque<T>

All Superinterfaces:
Feed<T>, Iterable<T>, Queue<T>, Stack<T>

public interface Deque<T> extends Queue<T>, Stack<T>
Double-edged queue.
Since:
2.0
  • Method Details

    • empty

      static <T> Deque<T> empty()
      Returns new deque that is initially empty.