| Method from java.util.IdentityHashMap$KeySet Detail: |
public void clear() {
IdentityHashMap.this.clear();
}
|
public boolean contains(Object o) {
return containsKey(o);
}
|
public int hashCode() {
int result = 0;
for (K key : this)
result += System.identityHashCode(key);
return result;
}
|
public Iterator iterator() {
return new KeyIterator();
}
|
public boolean remove(Object o) {
int oldSize = size;
IdentityHashMap.this.remove(o);
return size != oldSize;
}
|
public boolean removeAll(Collection c) {
boolean modified = false;
for (Iterator< K > i = iterator(); i.hasNext(); ) {
if (c.contains(i.next())) {
i.remove();
modified = true;
}
}
return modified;
}
|
public int size() {
return size;
}
|