Structures_LinkedList_Single
[
class tree: Structures_LinkedList_Single
] [
index: Structures_LinkedList_Single
] [
all elements
]
Todo List
Packages:
Structures_LinkedList
Structures_LinkedList_Double
Structures_LinkedList_Single
Classes:
Structures_LinkedList_Single
Structures_LinkedList_SingleNode
Structures_LinkedList
LinkListTester
LinkNodeTester
Files:
Single.php
Class: LinkListTester
Source Location: /Structures_LinkedList-0.2.2/examples/single_link_example.php
Class Overview
Structures_LinkedList_Single
| --LinkListTester
The Structures_LinkedList_Single class represents a linked list structure composed of
Structures_LinkedList_SingleNode
objects.
Author(s):
Dan Scott <
dscott at laurentian.ca
>
Methods
key
Inherited Variables
Class:
Structures_LinkedList_Single
Structures_LinkedList_Single::$current
Structures_LinkedList_Single::$messages
Structures_LinkedList_Single::$root_node
Inherited Methods
Class:
Structures_LinkedList_Single
Structures_LinkedList_Single::__construct()
Structures_LinkedList_Single constructor
Structures_LinkedList_Single::appendNode()
Adds a
Structures_LinkedList_SingleNode
object to the end of the linked list.
Structures_LinkedList_Single::current()
Returns the current node in the linked list
Structures_LinkedList_Single::deleteNode()
Deletes a
Structures_LinkedList_SingleNode
from the list.
Structures_LinkedList_Single::end()
Sets the pointer for the linked list to the root node
Structures_LinkedList_Single::getTailNode()
Returns the tail node of the linked list.
Structures_LinkedList_Single::insertNode()
Inserts a
Structures_LinkedList_SingleNode
object into the linked list, based on a reference node that already exists in the list.
Structures_LinkedList_Single::key()
Stub for Iterator interface that simply returns the current node
Structures_LinkedList_Single::next()
Sets the pointer for the linked list to the next node and returns that node
Structures_LinkedList_Single::prependNode()
Adds a
Structures_LinkedList_SingleNode
object to the start of the linked list.
Structures_LinkedList_Single::previous()
Sets the pointer for the linked list to the previous node and returns that node
Structures_LinkedList_Single::rewind()
Sets the pointer for the linked list to the root node
Structures_LinkedList_Single::valid()
Stub for Iterator interface that simply returns the current node
Structures_LinkedList_Single::__destruct()
Structures_LinkedList_Single destructor
Class Details
[line
38
]
The Structures_LinkedList_Single class represents a linked list structure composed of
Structures_LinkedList_SingleNode
objects.
Author:
Dan Scott <
dscott@laurentian.ca
>
[
Top
]
Method Detail
key
[line
39
]
void key( )
Overrides
Structures_LinkedList_Single::key()
(Stub for Iterator interface that simply returns the current node)
[
Top
]
Documentation generated on Mon, 11 Mar 2019 15:38:21 -0400 by
phpDocumentor 1.4.4
. PEAR Logo Copyright © PHP Group 2004.