All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jdsl.simple.ref.DequeStack

java.lang.Object
   |
   +----jdsl.simple.ref.DequeStack

public class DequeStack
extends Object
implements Stack
This is an implementation of the Stack interface using a Deque class.


Constructor Index

 o DequeStack()

Method Index

 o isEmpty()
 o pop()
 o push(Object)
 o size()
 o top()

Constructors

 o DequeStack
 public DequeStack()

Methods

 o size
 public int size()
 o isEmpty
 public boolean isEmpty()
 o push
 public void push(Object obj)
 o top
 public Object top() throws StackEmptyException
 o pop
 public Object pop() throws StackEmptyException

All Packages  Class Hierarchy  This Package  Previous  Next  Index