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