Example #1
0
            public EntryIterator(LongObjectMap <V> map)
            {
                _index = _tSafeIndex = map.getLastFreeIndex();
                if (map._size == 0)
                {
                    _index = _tSafeIndex + 1;
                }

                _tSet      = map._set;
                _tValues   = map._values;
                _entry     = new Entry <V>();
                _entry.key = _tFv = map._freeValue;
            }
Example #2
0
            public ForEachIterator(LongObjectMap <V> map)
            {
                _index = _tSafeIndex = map.getLastFreeIndex();
                if (map._size == 0)
                {
                    _index = _tSafeIndex + 1;
                }

                _tSet    = map._set;
                _tValues = map._values;
                _v       = default(V);
                _k       = _tFv = map._freeValue;
            }