Structures_LinkedList_Double
[ class tree: Structures_LinkedList_Double ] [ index: Structures_LinkedList_Double ] [ all elements ]

Class: LinkNodeTester

Source Location: /Structures_LinkedList-0.2.2/examples/double_link_example.php

Class Overview

Structures_LinkedList_SingleNode
   |
   --Structures_LinkedList_DoubleNode
      |
      --LinkNodeTester

The Structures_LinkedList_DoubleNode class represents a node in a Structures_LinkedList_Double linked list structure.


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods

Class: Structures_LinkedList_DoubleNode

Structures_LinkedList_DoubleNode::__construct()
Structures_LinkedList_DoubleNode constructor
Structures_LinkedList_DoubleNode::previous()
Return the previous node in the linked list
Structures_LinkedList_DoubleNode::setPrevious()
Sets the pointer for the previous node in the linked list to the specified node
Structures_LinkedList_DoubleNode::__destruct()
Removes node from the list, adjusting the related nodes accordingly.

Class: Structures_LinkedList_SingleNode

Structures_LinkedList_SingleNode::__construct()
Structures_LinkedList_SingleNode constructor
Structures_LinkedList_SingleNode::next()
Return the next node in the linked list
Structures_LinkedList_SingleNode::previous()
Return the previous node in the linked list
Structures_LinkedList_SingleNode::setNext()
Sets the pointer for the next node in the linked list to the specified node
Structures_LinkedList_SingleNode::setPrevious()
Sets the pointer for the next node in the linked list to the specified node
Structures_LinkedList_SingleNode::__destruct()
Removes node from the list, adjusting the related nodes accordingly.

Class Details

[line 10]
The Structures_LinkedList_DoubleNode class represents a node in a Structures_LinkedList_Double linked list structure.


[ Top ]


Class Variables

$_my_letter =

[line 12]

  • Access: protected

Type:   mixed


[ Top ]

$_my_number =

[line 11]

  • Access: protected

Type:   mixed


[ Top ]



Method Detail

__construct (Constructor)   [line 14]

LinkNodeTester __construct( $number, $letter)


Overrides Structures_LinkedList_DoubleNode::__construct() (Structures_LinkedList_DoubleNode constructor)

Parameters:

   $number   — 
   $letter   — 

[ Top ]

getLetter   [line 23]

void getLetter( )


[ Top ]

getNumber   [line 19]

void getNumber( )


[ Top ]

setNumb   [line 27]

void setNumb( $number)


Parameters:

   $number   — 

[ Top ]

__toString   [line 31]

void __toString( )


[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:38:21 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.