Object
|
--ArrayList
|
--Stack
Located in File: Program_Root/util/Stack.php
Stack of LIFO objects that can be administered and searched, while hiding the internal implementation. This is an implementation of the Stack class in the Java language.
phrame$Id: Stack.html,v 1.1.1.1 2002/11/19 16:47:22 arcano Exp $Arnold Cano| Class Variable Summary |
| Inherited Class Variable Summary | ||||||
Inherited From Class ArrayList
|
| Inherited Method Summary | ||||||||
|
Inherited From Class ArrayList
|
||||||||
Inherited From Class Object
|
| Method Summary |
void constructor Stack ( [$values = array()] )
|
mixed peek ( )
|
mixed pop ( )
|
mixed push ( $value )
|
| Variable Detail |
| Method Detail |
void constructor Stack ( [$values = array()] )
Create a Stack with the specified values.
- string $values: publicmixed peek ( )
Peek at the value from the top of the Stack without removing it.
publicmixed pop ( )
Pop a value from the Stack.
publicmixed push ( $value )
Push a value into the Stack.
- mixed $value: public