private void MoveToNext() { if (CurrentEntry != null) { CurrentEntry = CurrentEntry.Next; if (CurrentEntry == null) { CurrentIndex++; } else { return; } } for (; CurrentIndex < Table.Capacity; CurrentIndex++) { CurrentEntry = Table.Entries[CurrentIndex]; if (CurrentEntry != null) { break; } } }
public void Dispose() { CurrentEntry = null; }
public void Reset() { CurrentIndex = 0; CurrentEntry = null; }