Namespace: go.std.container.list
v1.0Contents
Summary
Provides a low-level interface to the container/list package.
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
	}
Index
Legend
- 
      Constant
      Variable
      Function
      Macro
      Special form
      Type
      GoVar
      Receiver/Method
    
Constants
Constants are variables with :const true in their metadata. Joker currently does not recognize them as special; as such, it allows redefining them or their values.- 
      (None.)
    
Variables
- 
      (None.)
    
Functions, Macros, and Special Forms
- 
  NewFunction v1.0(New)New returns an initialized list. 
 
 Go returns: *List
 
 Joker input arguments: []
 
 Joker returns: ^*List
Types
- 
  *ElementConcrete Type v1.0Element is an element of a linked list. 
 
- 
    NextReceiver for *Element v1.0([])Next returns the next list element or nil. 
 
- 
    PrevReceiver for *Element v1.0([])Prev returns the previous list element or nil. 
 
- 
  *ListConcrete Type v1.0List represents a doubly linked list. 
 The zero value for List is an empty list ready to use.
 
- 
    BackReceiver for *List v1.0([])Back returns the last element of list l or nil if the list is empty. 
 
- 
    FrontReceiver for *List v1.0([])Front returns the first element of list l or nil if the list is empty. 
 
- 
    InitReceiver for *List v1.0([])Init initializes or clears list l. 
 
- 
    InsertAfterReceiver for *List v1.0([v mark])InsertAfter inserts a new element e with value v immediately after mark and returns e. 
 If mark is not an element of l, the list is not modified.
 The mark must not be nil.
 
- 
    InsertBeforeReceiver for *List v1.0([v mark])InsertBefore inserts a new element e with value v immediately before mark and returns e. 
 If mark is not an element of l, the list is not modified.
 The mark must not be nil.
 
- 
    LenReceiver for *List v1.0([])Len returns the number of elements of list l. 
 The complexity is O(1).
 
- 
    MoveAfterReceiver for *List v1.0([e mark])MoveAfter moves element e to its new position after mark. 
 If e or mark is not an element of l, or e == mark, the list is not modified.
 The element and mark must not be nil.
 
- 
    MoveBeforeReceiver for *List v1.0([e mark])MoveBefore moves element e to its new position before mark. 
 If e or mark is not an element of l, or e == mark, the list is not modified.
 The element and mark must not be nil.
 
- 
    MoveToBackReceiver for *List v1.0([e])MoveToBack moves element e to the back of list l. 
 If e is not an element of l, the list is not modified.
 The element must not be nil.
 
- 
    MoveToFrontReceiver for *List v1.0([e])MoveToFront moves element e to the front of list l. 
 If e is not an element of l, the list is not modified.
 The element must not be nil.
 
- 
    PushBackReceiver for *List v1.0([v])PushBack inserts a new element e with value v at the back of list l and returns e. 
 
- 
    PushBackListReceiver for *List v1.0([other])PushBackList inserts a copy of another list at the back of list l. 
 The lists l and other may be the same. They must not be nil.
 
- 
    PushFrontReceiver for *List v1.0([v])PushFront inserts a new element e with value v at the front of list l and returns e. 
 
- 
    PushFrontListReceiver for *List v1.0([other])PushFrontList inserts a copy of another list at the front of list l. 
 The lists l and other may be the same. They must not be nil.
 
- 
    RemoveReceiver for *List v1.0([e])Remove removes e from l if e is an element of list l. 
 It returns the element value e.Value.
 The element must not be nil.
 
- 
  ElementConcrete Type v1.0Element is an element of a linked list. 
 
- 
  ListConcrete Type v1.0List represents a doubly linked list. 
 The zero value for List is an empty list ready to use.
 
- 
  arrayOfElementConcrete Type v1.0Element is an element of a linked list. 
 
- 
  arrayOfListConcrete Type v1.0List represents a doubly linked list. 
 The zero value for List is an empty list ready to use.