Package net.sf.saxon.expr.sort
Class AbstractIntSet
java.lang.Object
net.sf.saxon.expr.sort.AbstractIntSet
- All Implemented Interfaces:
IntSet
- Direct Known Subclasses:
IntArraySet
,IntHashSet
,IntRangeSet
Abstract superclass containing helper methods for various implementations of IntSet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsAll
(IntSet other) Test if this set is a superset of another setForm a new set that is the difference of this set and another set.Form a new set that is the intersection of two IntSets.Form a new set that is the union of two IntSets.
-
Constructor Details
-
AbstractIntSet
public AbstractIntSet()
-
-
Method Details
-
containsAll
Test if this set is a superset of another set- Specified by:
containsAll
in interfaceIntSet
- Parameters:
other
- the other set- Returns:
- true if every item in the other set is also in this set
-
union
Form a new set that is the union of two IntSets. -
intersect
Form a new set that is the intersection of two IntSets. -
except
Form a new set that is the difference of this set and another set. The result will either be an immutable object, or a newly constructed object.
-