Packageorg.si.utils
Classpublic class SLLint

Singly linked list of int.



Public Properties
 PropertyDefined by
  i : int = 0
int data
SLLint
  next : SLLint = null
Next pointer of list
SLLint
Public Methods
 MethodDefined by
  
SLLint(i:int = 0)
Constructor
SLLint
  
alloc(i:int = 0):SLLint
[static] Allocator
SLLint
  
allocList(size:int, defaultData:int = 0):SLLint
[static] Allocator of linked list
SLLint
  
allocRing(size:int, defaultData:int = 0):SLLint
[static] Allocator of ring-linked list
SLLint
  
createListPager(firstElem:SLLint, fixedSize:Boolean):Vector
[static] Create pager of linked list
SLLint
  
createRingPager(firstElem:SLLint, fixedSize:Boolean):Vector
[static] Create pager of ring-linked list
SLLint
  
free(elem:SLLint):void
[static] Deallocator
SLLint
  
freeList(firstElem:SLLint):void
[static] Deallocator of linked list
SLLint
  
freeRing(firstElem:SLLint):void
[static] Deallocator of ring-linked list
SLLint
  
newRing(... args):SLLint
[static] Ring-linked list with initial values.
SLLint
Property detail
iproperty
public var i:int = 0

int data

nextproperty 
public var next:SLLint = null

Next pointer of list

Constructor detail
SLLint()constructor
public function SLLint(i:int = 0)

Constructor

Parameters
i:int (default = 0)
Method detail
alloc()method
public static function alloc(i:int = 0):SLLint

Allocator

Parameters
i:int (default = 0)

Returns
SLLint
allocList()method 
public static function allocList(size:int, defaultData:int = 0):SLLint

Allocator of linked list

Parameters
size:int
 
defaultData:int (default = 0)

Returns
SLLint
allocRing()method 
public static function allocRing(size:int, defaultData:int = 0):SLLint

Allocator of ring-linked list

Parameters
size:int
 
defaultData:int (default = 0)

Returns
SLLint
createListPager()method 
public static function createListPager(firstElem:SLLint, fixedSize:Boolean):Vector

Create pager of linked list

Parameters
firstElem:SLLint
 
fixedSize:Boolean

Returns
Vector
createRingPager()method 
public static function createRingPager(firstElem:SLLint, fixedSize:Boolean):Vector

Create pager of ring-linked list

Parameters
firstElem:SLLint
 
fixedSize:Boolean

Returns
Vector
free()method 
public static function free(elem:SLLint):void

Deallocator

Parameters
elem:SLLint
freeList()method 
public static function freeList(firstElem:SLLint):void

Deallocator of linked list

Parameters
firstElem:SLLint
freeRing()method 
public static function freeRing(firstElem:SLLint):void

Deallocator of ring-linked list

Parameters
firstElem:SLLint
newRing()method 
public static function newRing(... args):SLLint

Ring-linked list with initial values.

Parameters
... args

Returns
SLLint