PHP Doku:: The SplDoublyLinkedList class - class.spldoublylinkedlist.html
Verlauf / Chronik / History:
(1)
anzeigen
ausblenden
The SplDoublyLinkedList class
Sie sind hier:
Doku-Startseite
≥
PHP-Handbuch
≥
Funktionsreferenz
≥
Sonstige Grunderweiterungen
≥
Standard PHP Library (SPL)
≥
Datenstrukturen
≥
The SplDoublyLinkedList class
Ein Service von Reinhard Neidl -
Webprogrammierung
.
Datenstrukturen
<<
Datenstrukturen
SplDoublyLinkedList::bottom
>>
∧
PHP-Handbuch
∧
Funktionsreferenz
∧
Sonstige Grunderweiterungen
∧
Standard PHP Library (SPL)
∧
Datenstrukturen
The SplDoublyLinkedList class
The SplFixedArray class
The SplHeap class
The SplMaxHeap class
The SplMinHeap class
The SplObjectStorage class
The SplPriorityQueue class
The SplQueue class
The SplStack class
UnterSeiten:
∨
SplDoublyLinkedList::bottom
∨
SplDoublyLinkedList::__construct
∨
SplDoublyLinkedList::count
∨
SplDoublyLinkedList::current
∨
SplDoublyLinkedList::getIteratorMode
∨
SplDoublyLinkedList::isEmpty
∨
SplDoublyLinkedList::key
∨
SplDoublyLinkedList::next
∨
SplDoublyLinkedList::offsetExists
∨
SplDoublyLinkedList::offsetGet
∨
SplDoublyLinkedList::offsetSet
∨
SplDoublyLinkedList::offsetUnset
∨
SplDoublyLinkedList::pop
∨
SplDoublyLinkedList::prev
∨
SplDoublyLinkedList::push
∨
SplDoublyLinkedList::rewind
∨
SplDoublyLinkedList::setIteratorMode
∨
SplDoublyLinkedList::shift
∨
SplDoublyLinkedList::top
∨
SplDoublyLinkedList::unshift
∨
SplDoublyLinkedList::valid
The SplDoublyLinkedList class
Einführung
The SplDoublyLinkedList class provides the main functionalities of a doubly linked list.
Klassenbeschreibung
SplDoublyLinkedList
implements
Iterator
,
ArrayAccess
,
Countable
{
/* Methoden */
__construct
(
void
)
mixed
bottom
(
void
)
int
count
(
void
)
mixed
current
(
void
)
int
getIteratorMode
(
void
)
bool
isEmpty
(
void
)
mixed
key
(
void
)
void
next
(
void
)
bool
offsetExists
(
mixed
$index
)
mixed
offsetGet
(
mixed
$index
)
void
offsetSet
(
mixed
$index
,
mixed
$newval
)
void
offsetUnset
(
mixed
$index
)
mixed
pop
(
void
)
void
prev
(
void
)
void
push
(
mixed
$value
)
void
rewind
(
void
)
void
setIteratorMode
(
int
$mode
)
mixed
shift
(
void
)
mixed
top
(
void
)
void
unshift
(
mixed
$value
)
bool
valid
(
void
)
}
Inhaltsverzeichnis
SplDoublyLinkedList::bottom
— Peeks at the node from the beginning of the doubly linked list
SplDoublyLinkedList::__construct
— Constructs a new doubly linked list
SplDoublyLinkedList::count
— Counts the number of elements in the doubly linked list.
SplDoublyLinkedList::current
— Return current array entry
SplDoublyLinkedList::getIteratorMode
— Returns the mode of iteration
SplDoublyLinkedList::isEmpty
— Checks whether the doubly linked list is empty.
SplDoublyLinkedList::key
— Return current node index
SplDoublyLinkedList::next
— Move to next entry
SplDoublyLinkedList::offsetExists
— Returns whether the requested $index exists
SplDoublyLinkedList::offsetGet
— Returns the value at the specified $index
SplDoublyLinkedList::offsetSet
— Sets the value at the specified $index to $newval
SplDoublyLinkedList::offsetUnset
— Unsets the value at the specified $index
SplDoublyLinkedList::pop
— Pops a node from the end of the doubly linked list
SplDoublyLinkedList::prev
— Move to previous entry
SplDoublyLinkedList::push
— Pushes an element at the end of the doubly linked list
SplDoublyLinkedList::rewind
— Rewind iterator back to the start
SplDoublyLinkedList::setIteratorMode
— Sets the mode of iteration
SplDoublyLinkedList::shift
— Shifts a node from the beginning of the doubly linked list
SplDoublyLinkedList::top
— Peeks at the node from the end of the doubly linked list
SplDoublyLinkedList::unshift
— Prepends the doubly linked list with an element
SplDoublyLinkedList::valid
— Check whether the doubly linked list contains more nodes
Keine BenutzerBeiträge.
-
Beiträge aktualisieren...