Package net.sf.saxon.z
This package provides utility routines for handling integer sets and maps.
The main classes are IntSet
which represents a set of 32-bit integers
(int values), IntIterator
which is an iterator over a sequence of 32-bit
integers, IntHashMap
which is a map from 32-bit integers to arbitrary
objects, and IntToIntMap
which is a map from 32-bit integers to 32-bit
integers.
The package name is a pun on the conventional use by mathematicians of the symbol Z to denote the set of all natural integers.
-
Interface Summary Interface Description IntIterator An iterator over a sequence of unboxed int values.IntPredicateProxy This interface represents an integer predicate (that is, a boolean function of an integer).IntToIntMap Interface defining a map from integers to integers -
Class Summary Class Description ConcatenatingIntIterator An iterator over nodes, that concatenates the nodes returned by two supplied iterators.IntArraySet Set of int values.IntArraySet.IntArrayIterator Iterator class: iterate over an array of integersIntBlockSet Set of int values.IntComplementSet An immutable integer set containing all int values except those in an excluded setIntEmptySet An immutable integer set containing no integersIntExceptPredicate An IntPredicate formed as the difference of two other predicates: it matches an integer if the first operand matches the integer and the second does notIntHashMap<T> A hash table that maps int keys to Object values.IntHashSet Set of int values.IntIntersectionPredicate An IntPredicate formed as the union of two other predicates: it matches an integer if either of the operands matches the integerIntPredicateLambda This class allows an integer predicate (a boolean function of an integer) to be written as a lambda expression, in a way that works both in Java and C#.IntRangeSet Set of int values.IntRangeToIntMap Set of int values.IntRepeatIterator An iterator over a single integer repeated a fixed number of timesIntSet A set of integers represented as int valuesIntSetPredicate An implementation of IntPredicate that tests whether a given integer is a member of some IntSetIntSingletonIterator An iterator over a single integerIntSingletonSet An immutable integer set containing a single integerIntStepIterator An iterator over a sequence of integers with regular steps, e.g.IntToIntArrayMap An implementation ofIntToIntMap
that relies on serial searching, and is therefore optimized for very small map sizesIntToIntHashMap A hash table that maps int keys to int values.IntUnionPredicate An IntPredicate formed as the union of two other predicates: it matches an integer if either of the operands matches the integerIntUniversalSet An immutable integer set containing every integerIntValuePredicate An IntPredicate that matches a single specific integerMonotonicIntSet Set of int values.