Package list implements a doubly linked list.

To iterate over a list (where l is a *List):

for e := l.Front(); e != nil; e = e.Next() {
	// do something with e.Value
}

Static methods

staticinlinenew_():Ref<List>

New returns an initialized list.

staticinlinetestExtending(_t:Ref<T_>):Void

staticinlinetestInsertAfterUnknownMark(_t:Ref<T_>):Void

Test that a list l is not modified when calling InsertAfter with a mark that is not an element of l.

staticinlinetestInsertBeforeUnknownMark(_t:Ref<T_>):Void

Test that a list l is not modified when calling InsertBefore with a mark that is not an element of l.

staticinlinetestIssue4103(_t:Ref<T_>):Void

staticinlinetestIssue6349(_t:Ref<T_>):Void

staticinlinetestList(_t:Ref<T_>):Void

staticinlinetestMove(_t:Ref<T_>):Void

staticinlinetestMoveUnknownMark(_t:Ref<T_>):Void

Test that a list l is not modified when calling MoveAfter or MoveBefore with a mark that is not an element of l.

staticinlinetestRemove(_t:Ref<T_>):Void

staticinlinetestZeroList(_t:Ref<T_>):Void

Test PushFront, PushBack, PushFrontList, PushBackList with uninitialized List