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.

Tipo
struct
Espacio de nombres
System
Ensamblado
System.Core
Acceso
public
Archivo fuente
Sorted.ant

Parámetros de tipo

NombreRestricciones
KSystem.IComparable<K>
Vcualquier tipo

Constructores

constructor SortedIterator(map: System.SortedDictionary<K, V>)
#

Propiedades

property Current: System.KeyValuePair<K, V>
#

read-only

property Key: K
#

read-only

Métodos

method Next() -> bool
#

Miembros privados e internos (5)

field map: System.SortedDictionary<K, V>
#

private

field stack: i32[]
#

private

field depth: i32
#

private

field current: i32
#

private

method Descend(n: i32) -> void
#

private

Código fuente

SortedIterator<K, V> en Larva HIR, descompilado a partir de su Larva HIR.

System.SortedIterator.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
}
Esc