java > java.util > java.util.deque >

Interface: java.util.Deque
    java.util.Deque


public interface Deque extends Queue


FIELDS:

CONSTRUCTORS:

METHODS:
boolean add(Object e)
Throws: IllegalStateException
Throws: ClassCastException
Throws: NullPointerException
Throws: IllegalArgumentException

void addFirst(Object e)
Throws: IllegalStateException
Throws: ClassCastException
Throws: NullPointerException
Throws: IllegalArgumentException

void addLast(Object e)
Throws: IllegalStateException
Throws: ClassCastException
Throws: NullPointerException
Throws: IllegalArgumentException

boolean contains(Object o)
Throws: ClassCastException
Throws: NullPointerException

Iterator descendingIterator()

Object element()
Throws: NoSuchElementException

Object getFirst()
Throws: NoSuchElementException

Object getLast()
Throws: NoSuchElementException

Iterator iterator()

boolean offer(Object e)
Throws: ClassCastException
Throws: NullPointerException
Throws: IllegalArgumentException

boolean offerFirst(Object e)
Throws: ClassCastException
Throws: NullPointerException
Throws: IllegalArgumentException

boolean offerLast(Object e)
Throws: ClassCastException
Throws: NullPointerException
Throws: IllegalArgumentException

Object peek()

Object peekFirst()

Object peekLast()

Object poll()

Object pollFirst()

Object pollLast()

Object pop()
Throws: NoSuchElementException

void push(Object e)
Throws: IllegalStateException
Throws: ClassCastException
Throws: NullPointerException
Throws: IllegalArgumentException

Object remove()
Throws: NoSuchElementException

boolean remove(Object o)
Throws: ClassCastException
Throws: NullPointerException

Object removeFirst()
Throws: NoSuchElementException

boolean removeFirstOccurrence(Object o)
Throws: ClassCastException
Throws: NullPointerException

Object removeLast()
Throws: NoSuchElementException

boolean removeLastOccurrence(Object o)
Throws: ClassCastException
Throws: NullPointerException

int size()


INHERITED METHODS:

SUBINTERFACES:
BlockingDeque,





Yazilar kaynak gosterilmeden kopyalanamaz © www.kodcu.net