PureMVC Framework for Haxe: API Documentation
Back | Index
class List<T>
A linked-list of elements. The list is composed of two-elements arrays that are chained together. It's optimized so that adding or removing an element doesn't imply to copy the whole array content everytime.
var length(default,null) : Int
The number of elements in this list.
function new() : Void
Creates a new empty list.
function add(item : T) : Void
function isEmpty() : Bool
function iterator() : Iterator<T>
function pop() : Null<T>
function remove(v : T) : Bool
Back | Index