See: Description
Interface | Description |
---|---|
IntIterator |
An iterator over a sequence of unboxed int values
|
IntPredicate |
Interface defining a predicate that can be tested to determine whether an integer
satisfies, or does not satisfy, some condition.
|
IntSet |
A set of integers represented as int values
|
IntToIntMap |
Interface defining a map from integers to integers
|
Class | Description |
---|---|
AbstractIntSet |
Abstract superclass containing helper methods for various implementations of IntSet
|
IntArraySet |
Set of int values, implemented as an array of integers in sorted order.
|
IntArraySet.IntArrayIterator |
Iterator class: iterate over an array of integers
|
IntBlockSet |
Set of int values.
|
IntComplementSet |
An immutable integer set containing all int values except those in an excluded set
|
IntEmptySet |
An immutable integer set containing no integers
|
IntExceptPredicate |
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 not
|
IntHashMap<T> |
A hash table that maps int keys to Object values.
|
IntHashSet |
Set of int values.
|
IntIntersectionPredicate |
An IntPredicate formed as the intersection of two other predicates: it matches
an integer if both of the operands matches the integer
|
IntPredicateFalse |
An IntPredicate that does not match any integer
|
IntPredicateTrue |
An IntPredicate that matches every integer, unconditionally
|
IntRangeSet |
Set of int values.
|
IntSetPredicate |
An implementation of IntPredicate that tests whether a given integer is a member
of some IntSet
|
IntSingletonIterator |
An iterator over a single integer
|
IntSingletonSet |
An immutable integer set containing a single integer
|
IntStepIterator |
An iterator over a sequence of integers with regular steps, e.g.
|
IntToIntArrayMap |
An implementation of
IntToIntMap that relies on serial searching, and
is therefore optimized for very small map sizes |
IntToIntHashMap |
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 integer
|
IntUniversalSet |
An immutable integer set containing every integer
|
IntValuePredicate |
An IntPredicate that matches a single specific integer
|
MonotonicIntSet |
Set of int values.
|
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.
Michael H. Kay
Saxonica Limited
9 January 2014
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.