struct · System
SortedIterator<K, V>
public struct System.SortedIterator<K, V>
The pairs of a sorted map, from the smallest key: an in-order walk with its own stack.
- Kind
- struct
- Namespace
- System
- Assembly
- System.Core
- Access
- public
- Source file
Sorted.ant
Type parameters
| Name | Constraints |
|---|---|
K | System.IComparable<K> |
V | any type |
Constructors
constructor SortedIterator(map: System.SortedDictionary<K, V>)
#
Properties
property Current: System.KeyValuePair<K, V>
#
property Key: K
#
Methods
Private and internal members (5)
Source
SortedIterator<K, V> as Larva HIR, decompiled from its Larva HIR.
// The pairs of a sorted map, from the smallest key: an in-order walk with its own stack.
public struct System.SortedIterator<K, V>
{
field map: System.SortedDictionary<K, V>
field stack: i32[]
field depth: i32
field current: i32
method Descend(n: i32) -> void
constructor SortedIterator(map: System.SortedDictionary<K, V>)
method Next() -> bool
property Current: System.KeyValuePair<K, V>
property Key: K
}