org.archive.queue
Interface Stack

All Known Subinterfaces:
Deque

Deprecated. As of 1.10.0. Unused.

public interface Stack

Simple Stack: supports add and remove at top.

Author:
gojomo

Method Summary
 long height()
          Deprecated. Number of items in the Stack.
 boolean isEmpty()
          Deprecated.  
 java.lang.Object peek()
          Deprecated.  
 java.lang.Object pop()
          Deprecated. Remove and return item from top of Stack
 void push(java.lang.Object object)
          Deprecated. Add object to top of Stack
 void release()
          Deprecated. Release any OS resources, if necessary.
 

Method Detail

push

void push(java.lang.Object object)
Deprecated. 
Add object to top of Stack

Parameters:
object -

pop

java.lang.Object pop()
Deprecated. 
Remove and return item from top of Stack

Returns:
Item removed from top of Stack

peek

java.lang.Object peek()
Deprecated. 
Returns:
Return item from top of Stack without removing it.

height

long height()
Deprecated. 
Number of items in the Stack.


release

void release()
Deprecated. 
Release any OS resources, if necessary.


isEmpty

boolean isEmpty()
Deprecated. 
Returns:
True if empty.


Copyright © 2003-2011 Internet Archive. All Rights Reserved.