PHP 클래스 Medusa\Stack\PersistentStack

상속: implements IteratorAggregate, implements Medusa\Stack\Stack
파일 보기 프로젝트 열기: keyvanakbary/medusa 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( $head, Medusa\Stack\Stack $tail, $count )
count ( )
createEmpty ( )
getIterator ( )
isEmpty ( )
peek ( )
pop ( )
push ( $value )

메소드 상세

__construct() 공개 메소드

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

count() 공개 메소드

public count ( )

createEmpty() 공개 정적인 메소드

public static createEmpty ( )

getIterator() 공개 메소드

public getIterator ( )

isEmpty() 공개 메소드

public isEmpty ( )

peek() 공개 메소드

public peek ( )

pop() 공개 메소드

public pop ( )

push() 공개 메소드

public push ( $value )