PHP Class Medusa\Stack\PersistentStack

Inheritance: implements IteratorAggregate, implements Medusa\Stack\Stack
Afficher le fichier Open project: keyvanakbary/medusa Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $head, Medusa\Stack\Stack $tail, $count )
count ( )
createEmpty ( )
getIterator ( )
isEmpty ( )
peek ( )
pop ( )
push ( $value )

Method Details

__construct() public méthode

public __construct ( $head, Medusa\Stack\Stack $tail, $count )
$tail Medusa\Stack\Stack

count() public méthode

public count ( )

createEmpty() public static méthode

public static createEmpty ( )

getIterator() public méthode

public getIterator ( )

isEmpty() public méthode

public isEmpty ( )

peek() public méthode

public peek ( )

pop() public méthode

public pop ( )

push() public méthode

public push ( $value )