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;
        }
 public HashMapValueView(HashMapImpl m)
 {
     this.map = m;
 }
 public HashMapKeyView(HashMapImpl m)
 {
     this.map = m;
 }