IndexList<'T> Type
A persitent array-like structure that allows lookup/insertion/deletion of entries in O(log N). Note that datastructure uses Index instead of int as index type which allows for these efficient implementations. However the datastructure also has accessors that allow getting/setting/deleting entries via an int-index in O(log N).
Instance members
Instance member | Description |
Full Usage:
this.AsArray
Returns: 'T[]
|
|
Full Usage:
this.AsArrayBackward
Returns: 'T[]
|
|
Full Usage:
this.AsList
Returns: 'T list
|
|
Full Usage:
this.AsListBackward
Returns: 'T list
|
|
Full Usage:
this.AsSeq
Returns: 'T seq
|
|
Full Usage:
this.AsSeqBackward
Returns: 'T seq
|
|
|
|
|
|
Full Usage:
this.CopyTo
Parameters:
'T[]
dstIndex : int
|
|
Full Usage:
this.Count
Returns: int
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
this.IndexOf
Parameters:
'T
Returns: int
|
|
|
|
|
|
|
|
Full Usage:
this.IsEmpty
Returns: bool
|
|
Full Usage:
this[i]
Parameters:
int
Returns: 'T
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
this.TryGet
Parameters:
int
Returns: 'T option
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
this.TryGetV
Parameters:
int
Returns: 'T voption
|
|
|
|
|
|
|
|
|
|
|
Static members
Static member | Description |
|
|