Exemplo n.º 1
0
 public CollectionViewIterator(CollectionView view)
 {
     this.root     = view.root;
     this.view     = view;
     this.expected = root.map;
     this.iterator = expected.entrySet().iterator();
 }
Exemplo n.º 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);
        }
Exemplo n.º 3
0
 public EntrySet(FastHashMap root)
     : base(root)
 {
     this.root = root;
 }
Exemplo n.º 4
0
 public Values(FastHashMap fhm) : base(fhm)
 {
 }
Exemplo n.º 5
0
 public KeySet(FastHashMap fhm) : base(fhm)
 {
 }
Exemplo n.º 6
0
 public CollectionView(FastHashMap root)
 {
     this.root = root;
 }