Module datarush.library
Package com.pervasive.datarush.sequences
Provides classes and interfaces related to sequences of tokens.
Sequences provide an efficient and convenient way for buffering tokens, compatible with
other DataRush objects.
DataRush provides both dense and sparse implementations of sequences. The primary implementations store data densely, allocating space for each entry. However, for sequences which will mainly consist of zero values, the sparse implementation may be more efficient.
-
Interface Summary Interface Description CloseableTokenAppendable A TokenAppendable which has resources which need to be released when being disposed.ElementComparator An index-based comparator for aTokenSequence
.MutableTokenSequence A mutableTokenSequence
.SeekableTokenValuedIterator ATokenValuedIterator
that is also seekable.TokenAppendable A sequence of data tokens to which additional tokens can be appended.TokenSequence A random-access, read-only view of a sequence of data tokens of homogeneous type.TokenValuedIterator Iterator over token values. -
Class Summary Class Description TokenSequences Utilities for working with arrays of tokens. -
Exception Summary Exception Description IteratorEndOfDataException Exception thrown if attempting to callTokenValuedIterator.stepNext()
after it has already returned false.