public class OpenHashSet<E> extends AbstractSet<E>
| Constructor and Description |
|---|
OpenHashSet(int capacity) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E newVal) |
protected int |
calcHash(Object key) |
boolean |
contains(Object val) |
Iterator<E> |
iterator() |
protected E |
lpElement(long offset) |
boolean |
remove(Object val) |
int |
size() |
equals, hashCode, removeAlladdAll, clear, containsAll, isEmpty, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, clear, containsAll, isEmpty, retainAll, spliterator, toArray, toArrayparallelStream, removeIf, streampublic int size()
size in interface Collection<E>size in interface Set<E>size in class AbstractCollection<E>public boolean add(E newVal)
add in interface Collection<E>add in interface Set<E>add in class AbstractCollection<E>protected int calcHash(Object key)
public boolean remove(Object val)
remove in interface Collection<E>remove in interface Set<E>remove in class AbstractCollection<E>public boolean contains(Object val)
contains in interface Collection<E>contains in interface Set<E>contains in class AbstractCollection<E>protected final E lpElement(long offset)
Copyright © 2013-2015. All Rights Reserved.