Module java.base
Package java.util

# Interface Deque

=
public abstract interface Deque<E>
extends java.util.Queue<E>, java.util.SequencedCollection<E>

## Methods

- =
  public abstract boolean add(E arg0)
- =
  public abstract boolean addAll(java.util.Collection<? extends E> arg0)
- =
  public abstract void addFirst(E arg0)
- =
  public abstract void addLast(E arg0)
- =
  public abstract boolean contains(java.lang.Object arg0)
- =
  public abstract java.util.Iterator<E> descendingIterator()
- =
  public abstract E element()
- =
  public abstract E getFirst()
- =
  public abstract E getLast()
- =
  public abstract java.util.Iterator<E> iterator()
- =
  public abstract boolean offer(E arg0)
- =
  public abstract boolean offerFirst(E arg0)
- =
  public abstract boolean offerLast(E arg0)
- =
  public abstract E peek()
- =
  public abstract E peekFirst()
- =
  public abstract E peekLast()
- =
  public abstract E poll()
- =
  public abstract E pollFirst()
- =
  public abstract E pollLast()
- =
  public abstract E pop()
- =
  public abstract void push(E arg0)
- =
  public abstract E remove()
- =
  public abstract boolean remove(java.lang.Object arg0)
- =
  public abstract E removeFirst()
- =
  public abstract boolean removeFirstOccurrence(java.lang.Object arg0)
- =
  public abstract E removeLast()
- =
  public abstract boolean removeLastOccurrence(java.lang.Object arg0)
- =
  public default java.util.Deque<E> reversed()
- =
  public abstract int size()

## Summary

No differences.