std.collections.List.New - nitrologic/monkey2 GitHub Wiki

std::std.collections.std.collections.List.New

Method New:Void( )
Method New:Void( values:T[] )
Method New:Void( values:std:std.collections.Stack )
Method New:Void( values:std:std.collections.List )

Creates a new list.

New() create a new empty list.

New( T[] ) creates a new list with the elements of an array.

New( List ) creates a new list with the contents of another list.

New( Stack ) create a new list the contents of a stack.

Parameters
values values An existing array, list or stack.