The Parle\Stack classIntroductionParle\Stack is a LIFO stack. The elements are inserted and removed only from one end. Class synopsisParle\Stack
class Parle\Stack
{
/* Properties */
public
bool
$empty =
true ;public
int
$size = 0;
public
mixed
$top;
/* Methods */
public void pop()
public void push(mixed
}$item )Properties
|