1 |
/* Stack.java - Class that provides a Last In First Out (LIFO) |
/* Stack.java - Class that provides a Last In First Out (LIFO) |
2 |
datatype, known more commonly as a Stack |
datatype, known more commonly as a Stack |
3 |
Copyright (C) 1998, 1999, 2001, 2004 Free Software Foundation, Inc. |
Copyright (C) 1998, 1999, 2001, 2004, 2005 |
4 |
|
Free Software Foundation, Inc. |
5 |
|
|
6 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
7 |
|
|
51 |
* methods for stack manipulation (push, pop, peek). You can also seek for |
* methods for stack manipulation (push, pop, peek). You can also seek for |
52 |
* the 1-based position of an element on the stack. |
* the 1-based position of an element on the stack. |
53 |
* |
* |
54 |
* @author Warren Levy <warrenl@cygnus.com> |
* @author Warren Levy (warrenl@cygnus.com) |
55 |
* @author Eric Blake <ebb9@email.byu.edu> |
* @author Eric Blake (ebb9@email.byu.edu) |
56 |
* @see List |
* @see List |
57 |
* @see AbstractList |
* @see AbstractList |
58 |
* @see LinkedList |
* @see LinkedList |