public ValueCollection(FastMap <K, V> map) { if (map == null) { throw new ArgumentNullException("dictionary"); } this.map = map; }
public KeyCollection(FastMap <K, V> dictionary) { if (dictionary == null) { throw new ArgumentNullException("dictionary"); } this.map = dictionary; }
internal KeyValueEnumerator(FastMap <K, V> dictionary) { this.map = dictionary; stamp = dictionary.generation; // The following stanza is identical to IEnumerator.Reset (), // but because of the definite assignment rule, we cannot call it here. position = 0; }
internal Enumerator(FastMap <K, V> host) { host_enumerator = new KeyValueEnumerator(host); }
public void Dispose() { map = null; }