Class IdentityHashSet<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<E>
org.apache.mina.util.MapBackedSet<E>
org.apache.mina.util.IdentityHashSet<E>
- Type Parameters:
E- The element type
- All Implemented Interfaces:
Serializable, Iterable<E>, Collection<E>, Set<E>
-
Field Summary
FieldsFields inherited from class MapBackedSet
map -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new IdentityHashSet instanceIdentityHashSet(int expectedMaxSize) Creates a new IdentityHashSet instanceCreates a new IdentityHashSet instance -
Method Summary
Methods inherited from class AbstractSet
equals, hashCode, removeAllMethods inherited from class AbstractCollection
addAll, containsAll, isEmpty, retainAll, toArray, toArray, toStringMethods inherited from interface Collection
parallelStream, removeIf, streamMethods inherited from interface Set
addAll, containsAll, isEmpty, retainAll, spliterator, toArray, toArray
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
IdentityHashSet
public IdentityHashSet()Creates a new IdentityHashSet instance -
IdentityHashSet
public IdentityHashSet(int expectedMaxSize) Creates a new IdentityHashSet instance- Parameters:
expectedMaxSize- The maximum size for the map
-
IdentityHashSet
Creates a new IdentityHashSet instance- Parameters:
c- The elements to put in the map
-