public class IdentityHashSet<E>
extends java.util.AbstractSet<E>
Constructor and Description |
---|
IdentityHashSet() |
IdentityHashSet(int initialCapacity) |
IdentityHashSet(int initialCapacity,
float loadFactor) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(E value) |
boolean |
addEquals(E value) |
void |
clear()
Clears this hash-table so that it contains no keys.
|
boolean |
contains(java.lang.Object value) |
boolean |
containsEquals(java.lang.Object value) |
boolean |
isEmpty() |
java.util.Iterator<E> |
iterator() |
protected void |
rehash()
Increases the capacity of and internally reorganizes this hash-table, in
order to accommodate and access its entries more efficiently.
|
boolean |
remove(java.lang.Object value) |
int |
size() |
addAll, containsAll, retainAll, toArray, toArray, toString
public IdentityHashSet()
public IdentityHashSet(int initialCapacity)
public IdentityHashSet(int initialCapacity, float loadFactor)
public java.util.Iterator<E> iterator()
public int size()
public boolean isEmpty()
public boolean contains(java.lang.Object value)
public boolean containsEquals(java.lang.Object value)
protected void rehash()
public boolean add(E value)
public boolean addEquals(E value)
public boolean remove(java.lang.Object value)