public class ParanoidHashSet<T> extends LinkedHashSet<T>
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
ParanoidHashSet() |
ParanoidHashSet(Collection<T> s) |
ParanoidHashSet(int size) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T arg0) |
spliteratorclear, clone, contains, isEmpty, iterator, remove, sizeequals, hashCode, removeAlladdAll, containsAll, retainAll, toArray, toArray, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitaddAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArrayparallelStream, removeIf, streampublic static final long serialVersionUID
public ParanoidHashSet(Collection<T> s) throws NullPointerException
NullPointerException - if s is nullpublic ParanoidHashSet()
public ParanoidHashSet(int size)
public boolean add(T arg0)
add in interface Collection<T>add in interface Set<T>add in class HashSet<T>UnimplementedError - if there's a bad hash code problemCollection.add(java.lang.Object)