public class IndexSet<T> extends Object implements Set<T>
Constructor and Description |
---|
IndexSet(Index<T> index) |
IndexSet(Index<T> index,
BitSet bits) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(T t) |
boolean |
addAll(Collection<? extends T> c) |
void |
clear() |
boolean |
contains(Object x) |
boolean |
containsAll(Collection<?> c) |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
boolean |
remove(Object x) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Object[] |
toArray() |
<A> A[] |
toArray(A[] array) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
spliterator
parallelStream, removeIf, stream
public int hashCode()
public boolean equals(Object o)
public boolean isEmpty()
public int size()
public boolean contains(Object x)
public void clear()
public boolean add(T t)
public boolean remove(Object x)
public boolean addAll(Collection<? extends T> c)
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<T>
containsAll
in interface Set<T>
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public <A> A[] toArray(A[] array)
see also the complete user documentation .