public bool MoveNext() { if (linkedDictionary.next == null) { return(false); } linkedDictionary = linkedDictionary.next; return(true); }
private static LinkedDictionary <TKey, TValue>[] CreateLinkedDictionaryArray(long size) { var result = new LinkedDictionary <TKey, TValue> [size]; for (long i = 0; i < size; i++) { result[i] = new LinkedDictionary <TKey, TValue>(); } return(result); }
public void Add(TKey key, TValue value) { if (key.Equals(this.key)) { return; } if (next == null) { next = new LinkedDictionary <TKey, TValue>(key, value); return; } next.Add(key, value); }
public LinkedDictionary(TKey key, TValue value) { this.key = key; this.value = value; next = null; }
public LinkedDictionary() { next = null; }
public void Dispose() { linkedDictionary = null; }
internal LinkedDictionaryEnumerator(LinkedDictionary <TKey, TValue> linkedDictionary) { this.linkedDictionary = new LinkedDictionary <TKey, TValue>(); this.linkedDictionary.next = linkedDictionary; }