| Package | com.addicted2flash.util |
| Class | public class LinkedNode |
| Property | Defined by | ||
|---|---|---|---|
| next : LinkedNode | LinkedNode | ||
| prev : LinkedNode | LinkedNode | ||
| value : * | LinkedNode | ||
| Method | Defined by | ||
|---|---|---|---|
|
Create a new
LinkedNode. | LinkedNode | ||
|
clearAndCombine():*
clear instance and combine prev and next node (if existing).
| LinkedNode | ||
|
dispose():void
clear all internal dependencies.
| LinkedNode | ||
|
postAdd(node:LinkedNode):void
add a node as next node ( also handles dependencies f.e prev/next ).
| LinkedNode | ||
|
preAdd(node:LinkedNode):void
add a node as predecessor ( also handles dependencies f.e prev/next ).
| LinkedNode | ||
|
purge():void
recursive dispose.
| LinkedNode | ||
|
shiftLeft():void
shift value to the left (value of prev node and this node change).
| LinkedNode | ||
|
shiftRight():void
shift value to the left (value of next node and this node change).
| LinkedNode | ||
|
toString():String
string representation of
LinkedNode. | LinkedNode | ||
| next | property |
public var next:LinkedNode
| prev | property |
public var prev:LinkedNode
| value | property |
public var value:*
| LinkedNode | () | constructor |
public function LinkedNode(value:* = null, prev:LinkedNode = null, next:LinkedNode = null)
Create a new LinkedNode.
value:* (default = null) — any value
|
|
prev:LinkedNode (default = null) — predecessor of node
|
|
next:LinkedNode (default = null) — post node
|
| clearAndCombine | () | method |
public function clearAndCombine():*clear instance and combine prev and next node (if existing).
Returns* |
| dispose | () | method |
public function dispose():voidclear all internal dependencies.
| postAdd | () | method |
public function postAdd(node:LinkedNode):voidadd a node as next node ( also handles dependencies f.e prev/next ).
Parametersnode:LinkedNode — next node
|
| preAdd | () | method |
public function preAdd(node:LinkedNode):voidadd a node as predecessor ( also handles dependencies f.e prev/next ).
Parametersnode:LinkedNode — predecessor
|
| purge | () | method |
public function purge():voidrecursive dispose.
| shiftLeft | () | method |
public function shiftLeft():voidshift value to the left (value of prev node and this node change).
| shiftRight | () | method |
public function shiftRight():voidshift value to the left (value of next node and this node change).
| toString | () | method |
public function toString():String
string representation of LinkedNode.
String — String representation of LinkedNode
|