public interface LongSet
Modifier and Type | Method and Description |
---|---|
boolean |
contains(long i) |
boolean |
containsAny(LongSet set) |
void |
foreach(LongSetAction action)
Invoke an action on each element of the Set
|
void |
foreachExcluding(LongSet X,
LongSetAction action)
Invoke an action on each element of the Set, excluding elements of Set X
|
LongSet |
intersection(LongSet that)
This implementation must not despoil the original value of "this"
|
boolean |
isEmpty() |
boolean |
isSubset(LongSet that) |
LongIterator |
longIterator() |
long |
max() |
boolean |
sameValue(LongSet that) |
int |
size() |
boolean contains(long i)
i
- boolean containsAny(LongSet set)
LongSet intersection(LongSet that)
boolean isEmpty()
int size()
long max()
boolean sameValue(LongSet that)
this
has the same value as
that
.boolean isSubset(LongSet that)
this
is a subset of that
.LongIterator longIterator()
void foreach(LongSetAction action)
action
- void foreachExcluding(LongSet X, LongSetAction action)
action
-