Example #1
0
            public EntryIterator(CharObjectMap <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(CharObjectMap <V> map)
            {
                _index = _tSafeIndex = map.getLastFreeIndex();
                if (map._size == 0)
                {
                    _index = _tSafeIndex + 1;
                }

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