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:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class LinkedHashSet
addFirst, addLast, getFirst, getLast, newLinkedHashSet, removeFirst, removeLast, reversed, spliteratorMethods inherited from class HashSet
clear, clone, contains, isEmpty, iterator, newHashSet, remove, size, toArray, toArrayMethods inherited from class AbstractSet
equals, hashCode, removeAllMethods inherited from class AbstractCollection
addAll, containsAll, retainAll, toStringMethods inherited from interface Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
ParanoidHashSet
- Throws:
NullPointerException- if s is null
-
ParanoidHashSet
public ParanoidHashSet() -
ParanoidHashSet
public ParanoidHashSet(int size)
-
-
Method Details
-
add
-