public class FastSet<T> extends AbstractSet<T>
| Modifier | Constructor and Description |
|---|---|
|
FastSet(Collection<T> all) |
|
FastSet(Collection<T> all,
boolean fill) |
protected |
FastSet(FastSet<T> other) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T e) |
void |
and(FastSet<T> other) |
void |
clear() |
boolean |
contains(Object o) |
FastSet<T> |
copy() |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
static void |
main(String[] args) |
void |
or(FastSet<T> other) |
boolean |
remove(Object o) |
SingleSubSet<T> |
singleSub() |
int |
size() |
FastSet<T> |
sub() |
equals, hashCode, removeAlladdAll, containsAll, retainAll, toArray, toArray, toStringpublic FastSet(Collection<T> all)
public FastSet(Collection<T> all, boolean fill)
public SingleSubSet<T> singleSub()
public int size()
size in interface Collection<T>size in interface Set<T>size in class AbstractCollection<T>public boolean isEmpty()
isEmpty in interface Collection<T>isEmpty in interface Set<T>isEmpty in class AbstractCollection<T>public boolean contains(Object o)
contains in interface Collection<T>contains in interface Set<T>contains in class AbstractCollection<T>public boolean add(T e)
add in interface Collection<T>add in interface Set<T>add in class AbstractCollection<T>public boolean remove(Object o)
remove in interface Collection<T>remove in interface Set<T>remove in class AbstractCollection<T>public void clear()
clear in interface Collection<T>clear in interface Set<T>clear in class AbstractCollection<T>public static void main(String[] args)
args - the command line argumentsCopyright © 2014. All rights reserved.