E
- the element typepublic class IdentityHashSet<E> extends HashSet<E>
Constructor and Description |
---|
IdentityHashSet() |
IdentityHashSet(Collection<? extends E> c) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
itemEquals(Object a,
Object b)
Returns whether two items are equal for the purposes of this set.
|
protected int |
itemHashCode(Object o)
Return the hashCode for an item.
|
add, addAll, clear, contains, doReadObject, doWriteObject, iterator, remove, size, toArray, toArray
equals, hashCode, removeAll
containsAll, isEmpty, retainAll, toString
containsAll, isEmpty, retainAll
public IdentityHashSet()
public IdentityHashSet(Collection<? extends E> c)
protected boolean itemEquals(Object a, Object b)
HashSet
itemEquals
in class HashSet<E>
protected int itemHashCode(Object o)
HashSet
itemHashCode
in class HashSet<E>
Copyright © 2018. All rights reserved.