Class ParanoidHashSet<T>
java.lang.Object
java.util.AbstractCollection<T>
java.util.AbstractSet<T>
java.util.HashSet<T>
java.util.LinkedHashSet<T>
com.ibm.wala.util.collections.ParanoidHashSet<T>
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<T>
,Collection<T>
,SequencedCollection<T>
,SequencedSet<T>
,Set<T>
a debugging aid. This implementation complains if you stick an object in here which appears to
use System.identityHashCode(), or if it detects more than BAD_HC collisions in the Set (possibly
indicated a bad hash function)
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class java.util.LinkedHashSet
addFirst, addLast, getFirst, getLast, newLinkedHashSet, removeFirst, removeLast, reversed, spliterator
Methods inherited from class java.util.HashSet
clear, clone, contains, isEmpty, iterator, newHashSet, remove, size, toArray, toArray
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
-
Constructor Details
-
ParanoidHashSet
- Throws:
NullPointerException
- if s is null
-
ParanoidHashSet
public ParanoidHashSet() -
ParanoidHashSet
public ParanoidHashSet(int size)
-
-
Method Details
-
add
-