public EntryIterator(SMap <K, V> map) { _index = _tSafeIndex = map.getLastFreeIndex(); if (map._size == 0) { _index = _tSafeIndex + 1; } _tSet = map._set; _tValues = map._values; _entry = new Entry <K, V>(); _entry.key = default(K); }
public ForEachIterator(SMap <K, V> map) { _index = _tSafeIndex = map.getLastFreeIndex(); if (map._size == 0) { _index = _tSafeIndex + 1; } _tSet = map._set; _tValues = map._values; _k = default(K); _v = default(V); }