Пример #1
0
            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);
            }
Пример #2
0
            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);
            }