public class OffHeapHashSet<E> extends AbstractSet<E>
| Constructor and Description |
|---|
OffHeapHashSet(OffHeapHashMap<E,Boolean> map) |
OffHeapHashSet(PageSource source,
boolean tableSteals,
StorageEngine<? super E,Boolean> engine,
int capacity) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E e) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> clctn) |
StorageEngine<? super E,?> |
getStorageEngine() |
boolean |
isEmpty() |
Iterator<E> |
iterator() |
boolean |
remove(Object o) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] ts) |
equals, hashCode, removeAlladdAll, retainAll, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, retainAll, spliteratorparallelStream, removeIf, streampublic OffHeapHashSet(PageSource source, boolean tableSteals, StorageEngine<? super E,Boolean> engine, int capacity)
public OffHeapHashSet(OffHeapHashMap<E,Boolean> map)
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 Object[] toArray()
toArray in interface Collection<E>toArray in interface Set<E>toArray in class AbstractCollection<E>public <T> T[] toArray(T[] ts)
toArray in interface Collection<E>toArray in interface Set<E>toArray 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 containsAll(Collection<?> clctn)
containsAll in interface Collection<E>containsAll in interface Set<E>containsAll in class AbstractCollection<E>public void clear()
clear in interface Collection<E>clear in interface Set<E>clear in class AbstractCollection<E>public StorageEngine<? super E,?> getStorageEngine()
Copyright © 2015–2024. All rights reserved.