SplDoublyLinkedList::valid
SplStack::__construct
Datastructures
PHP Manual
The SplStack class
Introduction
کلاس SplStack عملکرد اصلی پشته را با استفاده از لیست دو پیوندی پیاده میکند.
Class synopsis
SplStack
extends
SplDoublyLinkedList
implements
Iterator
,
ArrayAccess
,
Countable
{
/* Methods */
__construct
(
void
)
void
setIteratorMode
(
int
$mode
)
/* Inherited methods */
mixed
SplDoublyLinkedList::bottom
(
void
)
int
SplDoublyLinkedList::count
(
void
)
mixed
SplDoublyLinkedList::current
(
void
)
int
SplDoublyLinkedList::getIteratorMode
(
void
)
bool
SplDoublyLinkedList::isEmpty
(
void
)
mixed
SplDoublyLinkedList::key
(
void
)
void
SplDoublyLinkedList::next
(
void
)
bool
SplDoublyLinkedList::offsetExists
(
mixed
$index
)
mixed
SplDoublyLinkedList::offsetGet
(
mixed
$index
)
void
SplDoublyLinkedList::offsetSet
(
mixed
$index
,
mixed
$newval
)
void
SplDoublyLinkedList::offsetUnset
(
mixed
$index
)
mixed
SplDoublyLinkedList::pop
(
void
)
void
SplDoublyLinkedList::prev
(
void
)
void
SplDoublyLinkedList::push
(
mixed
$value
)
void
SplDoublyLinkedList::rewind
(
void
)
void
SplDoublyLinkedList::setIteratorMode
(
int
$mode
)
mixed
SplDoublyLinkedList::shift
(
void
)
mixed
SplDoublyLinkedList::top
(
void
)
void
SplDoublyLinkedList::unshift
(
mixed
$value
)
bool
SplDoublyLinkedList::valid
(
void
)
}
Table of Contents
SplStack::__construct
— ساختن پشته جدید با استفاده از لیست دو پیوندی
SplStack::setIteratorMode
— تنظیم حالت تکرار
SplDoublyLinkedList::valid
SplStack::__construct
Datastructures
PHP Manual