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
public abstract class AbstractIntSet extends java.lang.Object implements IntSet
Abstract superclass containing helper methods for various implementations of IntSet
-
-
Constructor Summary
Constructors Constructor Description AbstractIntSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsAll(IntSet other)
Test if this set is a superset of another setIntSet
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.
-
-
-
Method Detail
-
containsAll
public boolean containsAll(IntSet other)
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
-
intersect
public IntSet intersect(IntSet other)
Form a new set that is the intersection of two IntSets.
-
-