List<any>A list of objectsClassCompareDelegateA type that represents a reference to a method with a parameter list and return typeCompareFieldDelegateA type that represents a reference to a method with a parameter list and return typeFindDelegateA type that represents a reference to a method with a parameter list and return typeMethodpublic List.Constructor(int capacity, [] init=null)public void List.Add(value)Add an item to the listpublic void List.AddEach(value)Add each item in values to the listpublic void List.ClearRemove all elementspublic virtual int object.Compare(value)Compares this object with another and returns (-1, 0, or 1)public bool List.Contains(value)Returns true if the element is present in the containerpublic object List.FindCount(delegate bool FindDelegate(value) predicate, int maxcount=null)Find the number of matching itemspublic int List.FindElementIndex(value)Returns the index of the first matching element (-1 if none)public List.FindFirst(delegate bool FindDelegate(value) predicate)Returns the first matching element or null if not foundpublic int List.FindFirstIndex(delegate bool FindDelegate(value) predicate)Returns the index of first matching element or -1 if no matchpublic object List.FindIndex(delegate bool FindDelegate(value) predicate, int maxcount=null)Returns a range list of matching elementspublic List.FindMaxReturns the maximum value or nullpublic List.FindMinReturns the minimum value or null
public [] List.FindSlice(delegate bool FindDelegate(value) predicate, int maxcount=null)Returns an array comprising matching elementspublic List.FirstElementReturns the first element or nullpublic Attribute List.GetEachTypeGet the iterated typepublic virtual Icon object.GetIconReturn a icon for this objectpublic virtual object.GetLayoutBlockReturn a layout inside a blockpublic virtual object.GetLayoutSpanReturn a layout inside a spanpublic virtual object.GetLayoutTipReturn a layout for the hint popuppublic virtual object.GetSourceReferenceReturn a source reference for this objectpublic virtual void object.GetTexSource(source)LaTeX source code for this objectpublic List.LastElementReturns the last element or nullpublic void List.Remove(index)Remove an item from the listpublic void List.SetAllValues(value)Set all elements to a single valuepublic void List.SetValue(index, value)Modify the ith elementpublic void List.Sort(bool descending=false, delegate int CompareDelegate(v1, v2) comparedelegate=null)Sorts the list in placepublic void List.SortField(bool descending, delegate CompareFieldDelegate(value) comparedelegatefield)Sorts the list in placepublic [] List.ToArrayReturns the current values to an array
public [] List.ToSortedArray(bool descending=false, delegate int CompareDelegate(v1, v2) comparedelegate=null)Returns a new array in sorted orderpublic [] List.ToSortedArrayField(bool descending, delegate CompareFieldDelegate(value) comparedelegatefield)Returns a new array in sorted order