E - the type of the elements in this setpublic class ArrayHashSet<E> extends AbstractSet<E> implements Set<E>
HashMap.
[1] Donald E. Knuth, The Art of Computer Programming, Volume 3, Sorting and
Searching, Second Edition| Constructor and Description |
|---|
ArrayHashSet() |
ArrayHashSet(int initialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E e) |
void |
clear() |
boolean |
contains(Object o) |
E[] |
getRawData() |
boolean |
isEmpty() |
Iterator<E> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
int |
size() |
String |
toString() |
equals, hashCodeaddAll, containsAll, retainAll, toArray, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, containsAll, equals, hashCode, retainAll, spliterator, toArray, toArrayparallelStream, removeIf, streampublic ArrayHashSet(int initialCapacity)
public ArrayHashSet()
public int size()
size in interface Collection<E>size in interface Set<E>size in class AbstractCollection<E>public boolean isEmpty()
isEmpty in interface Collection<E>isEmpty in interface Set<E>isEmpty in class AbstractCollection<E>public boolean contains(Object o)
contains in interface Collection<E>contains in interface Set<E>contains in class AbstractCollection<E>public boolean add(E e)
add in interface Collection<E>add in interface Set<E>add in class AbstractCollection<E>public boolean remove(Object o)
remove in interface Collection<E>remove in interface Set<E>remove in class AbstractCollection<E>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<E>removeAll in interface Set<E>removeAll in class AbstractSet<E>public void clear()
clear in interface Collection<E>clear in interface Set<E>clear in class AbstractCollection<E>public String toString()
toString in class AbstractCollection<E>public E[] getRawData()
Copyright © 2011–2024 Live Ontologies Project. All rights reserved.