IntSet
IntArraySet
, IntHashSet
, IntRangeSet
public abstract class AbstractIntSet extends java.lang.Object implements IntSet
Constructor | Description |
---|---|
AbstractIntSet() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
containsAll(IntSet other) |
Test if this set is a superset of another set
|
IntSet |
except(IntSet other) |
Form a new set that is the difference of this set and another set.
|
IntSet |
intersect(IntSet other) |
Form a new set that is the intersection of two IntSets.
|
IntSet |
union(IntSet other) |
Form a new set that is the union of two IntSets.
|
public boolean containsAll(IntSet other)
containsAll
in interface IntSet
other
- the other setpublic IntSet intersect(IntSet other)