Ejemplo n.º 1
0
        public HashMapIterator(HashMapImpl map, bool deliverKeys)
        {
            this.map         = map;
            this.deliverKeys = deliverKeys;

            this.keys = new object[map.size()];
            // when having a null key, the last array element will not be overwritten here
            map.data.Keys.CopyTo(this.keys, 0);
            this.n = 0;
        }
Ejemplo n.º 2
0
 public override int size()
 {
     return(map.size());
 }