List

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island, macOS
  • Namespace: go.container.list

Instance Methods


constructor

 

constructor

 

List()

 

init()

constructor (Element, int) Island, macOS

 

constructor(aroot: Element; alen: int)

 

List(Element aroot, int alen)

 

init(_ aroot: Element, _ alen: int)

Parameters:

  • aroot:
  • alen:

constructor (Element, Int64) .NET, .NET Standard 2.0

 

constructor(aroot: Element; alen: Int64)

 

List(Element aroot, Int64 alen)

 

init(_ aroot: Element, _ alen: Int64)

Parameters:

  • aroot:
  • alen:

constructor (List)

 

constructor(value: List)

 

List(List value)

 

init(_ value: List)

Parameters:

  • value:

Back

 

method Back: Element

 

Element Back()

 

func Back() -> Element

 

func Back() *Element

Front

 

method Front: Element

 

Element Front()

 

func Front() -> Element

 

func Front() *Element

Init

 

method Init: List

 

List Init()

 

func Init() -> List

 

func Init() *List

InsertAfter

 

method InsertAfter(v: Object; mark: Element): Element

 

Element InsertAfter(Object v, Element mark)

 

func InsertAfter(_ v: Object, _ mark: Element) -> Element

 

func InsertAfter(v interface{}, mark *Element) *Element

Parameters:

  • v:
  • mark:

InsertBefore

 

method InsertBefore(v: Object; mark: Element): Element

 

Element InsertBefore(Object v, Element mark)

 

func InsertBefore(_ v: Object, _ mark: Element) -> Element

 

func InsertBefore(v interface{}, mark *Element) *Element

Parameters:

  • v:
  • mark:

Len

 

method Len: int

 

int Len()

 

func Len() -> int

 

func Len() int

MoveAfter

 

method MoveAfter(e: Element; mark: Element)

 

void MoveAfter(Element e, Element mark)

 

func MoveAfter(_ e: Element, _ mark: Element)

 

func MoveAfter(e *Element, mark *Element)

Parameters:

  • e:
  • mark:

MoveBefore

 

method MoveBefore(e: Element; mark: Element)

 

void MoveBefore(Element e, Element mark)

 

func MoveBefore(_ e: Element, _ mark: Element)

 

func MoveBefore(e *Element, mark *Element)

Parameters:

  • e:
  • mark:

MoveToBack

 

method MoveToBack(e: Element)

 

void MoveToBack(Element e)

 

func MoveToBack(_ e: Element)

 

func MoveToBack(e *Element)

Parameters:

  • e:

MoveToFront

 

method MoveToFront(e: Element)

 

void MoveToFront(Element e)

 

func MoveToFront(_ e: Element)

 

func MoveToFront(e *Element)

Parameters:

  • e:

PushBack

 

method PushBack(v: Object): Element

 

Element PushBack(Object v)

 

func PushBack(_ v: Object) -> Element

 

func PushBack(v interface{}) *Element

Parameters:

  • v:

PushBackList

 

method PushBackList(other: List)

 

void PushBackList(List other)

 

func PushBackList(_ other: List)

 

func PushBackList(other *List)

Parameters:

  • other:

PushFront

 

method PushFront(v: Object): Element

 

Element PushFront(Object v)

 

func PushFront(_ v: Object) -> Element

 

func PushFront(v interface{}) *Element

Parameters:

  • v:

PushFrontList

 

method PushFrontList(other: List)

 

void PushFrontList(List other)

 

func PushFrontList(_ other: List)

 

func PushFrontList(other *List)

Parameters:

  • other:

Remove

 

method Remove(e: Element): Object

 

Object Remove(Element e)

 

func Remove(_ e: Element) -> Object

 

func Remove(e *Element) interface{}

Parameters:

  • e: