Double-ended queue is an ordered linear linear structure implementing the signature of List (head, tail, cons) as well as the mirror-image Vector signature (last, initial, conj). "head" inspects the first or left-most element in the structure, while "last" inspects the last or right-most element. "rev" (reverse) has time complexity O(1). Ordering is by insertion history.
Instance member | Description |
|
|
|
|
Full Usage:
this.Head
Returns: 'T
|
|
|
|
Full Usage:
this.IsEmpty
Returns: bool
|
|
Full Usage:
this.Last
Returns: 'T
|
|
Full Usage:
this.Length
Returns: int
|
|
|
|
|
|
Full Usage:
this.TryHead
Returns: 'T option
|
|
|
|
Full Usage:
this.TryLast
Returns: 'T option
|
|
|
|
|
|
|
|
|
|
|
|