$nextElement
$nextElement : null|\Phabstractic\Data\Types\Resource\Phabstractic\Data\Types\Resource\LinkedListElementInterface
The next element in the series
Linked List Element Abstract Class
Defines a basic linked list element class, implements LinkedListElementInterface
The idea behind this element is that it provides a reference to an element 'ahead' of itself, and a reference 'behind' itself. This gives us the ability to define a list where you can edit its contents through the nodes themselves as opposed to operations on an array.
CHANGELOG
1.0: Created AbstractList - May 10th, 2013 1.1: Eliminated todo, and other obselete/incorrect documentation - October 7th, 2013\ 2.0: Integrated into Primus - August 26th, 2015 3.0: renamed item to element in method names added element to private properties to distinguish class reformatted for inclusion in phabstractic - July 25th, 2016
setNextElement(\Phabstractic\Data\Types\Resource\LinkedListElementInterface $next)
Set the next element reference
\Phabstractic\Data\Types\Resource\LinkedListElementInterface | $next | The next item |
getPreviousElement() : \Phabstractic\Data\Types\Resource\Phabstractic\Data\Types\Resource\LinkedListElementInterface
Get the previous element reference
If null, at beginning of list
setPreviousElement(\Phabstractic\Data\Types\Resource\LinkedListElementInterface $previous)
Set the previous element reference
\Phabstractic\Data\Types\Resource\LinkedListElementInterface | $previous |