Code example for IdentityHashMap

Methods: size

0
	public IdentitySet(int sizing) {
		this.map = new IdentityHashMap( sizing );
	} 
 
	public int size() { 
		return map.size();
	} 
 
	public boolean isEmpty() { 
		return map.isEmpty();
	} 
 
	public boolean contains(Object o) {
		return map.get( o ) == DUMP_VALUE;
	} 
 
	public Iterator iterator() {
		return map.keySet().iterator();
	} 
 
	public Object[] toArray() {