jds
Interface Deque

All Known Implementing Classes:
IndexedDeque, LinkedList

public abstract interface Deque
extends Stack, Queue

Deque - collection with both stack-like and queue-like behavior; for use with book Classic Data Structures in Java by Timothy A Budd, published by Addison-Wesley, 2001.

See Also:
Collection

Fields inherited from class java.io.Serializable
serialVersionUID
 
Fields inherited from class java.io.Serializable
serialVersionUID
 
Method Summary
 void addFirst(java.lang.Object value)
          add a new value to front of the collection
 
Methods inherited from interface jds.Stack
addLast, getLast, removeLast
 
Methods inherited from interface jds.Queue
getFirst, removeFirst
 

Method Detail

addFirst

public void addFirst(java.lang.Object value)
add a new value to front of the collection
Parameters:
value - element to be inserted into collection