com.metasolutions.util
Class SimpleStack
java.lang.Object
com.metasolutions.util.SimpleStack
- All Implemented Interfaces:
- Serializable
public class SimpleStack
- extends Object
- implements Serializable
A stack/vector container which is not part of the Collections Framework.
- Version:
- 0.9 May 29, 2005
- Author:
- Shawn Curry
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleStack
public SimpleStack()
SimpleStack
public SimpleStack(int size)
size
public int size()
clear
public void clear()
push
public void push(Object o)
pop
public Object pop()
peek
public Object peek()
elementAt
public Object elementAt(int i)
setElementAt
public void setElementAt(Object o,
int i)
remove
public void remove(int i)
insert
public void insert(Object o,
int i)
Copyright 2004-2005 Shawn Curry, http://jfcml.sourceforge.net
Licensed under the Academic Free License version 2.1