LinkedList

a linked list, used where only reading in the forward direction is required

Constructors

this
this()
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

append
void append(T item)

adds a new item at the end of the list

clear
void clear()

clears/resets the list. Frees all the occupied memory, & removes all items

read
T* read()

returns pointer of next item to be read, null if there are no more items

removeFirst
void removeFirst()

removes the first item in list

resetRead
void resetRead()

resets the read position, i.e: set reading position to first item

Properties

count
uinteger count [@property getter]

number of items that the list is holding

Meta