Beispiel #1
0
 public CollectionViewIterator(CollectionView view)
 {
     this.root     = view.root;
     this.view     = view;
     this.expected = root.map;
     this.iterator = expected.entrySet().iterator();
 }
Beispiel #2
0
        /**
         * Return a shallow copy of this <code>FastHashMap</code> instance.
         * The keys and values themselves are not copied.
         *
         * @return a clone of this map
         */
        public Object clone()
        {
            FastHashMap results = null;

            if (fast)
            {
                results = new FastHashMap(map);
            }
            else
            {
                lock (map)
                {
                    results = new FastHashMap(map);
                }
            }
            results.setFast(getFast());
            return(results);
        }
Beispiel #3
0
 public EntrySet(FastHashMap root)
     : base(root)
 {
     this.root = root;
 }
Beispiel #4
0
 public Values(FastHashMap fhm) : base(fhm)
 {
 }
Beispiel #5
0
 public KeySet(FastHashMap fhm) : base(fhm)
 {
 }
Beispiel #6
0
 public CollectionView(FastHashMap root)
 {
     this.root = root;
 }