Package com.identityworksllc.iiq.common.iterators
Utilities for looping over objects
-
Interface Summary Interface Description ResultSetIterator.CustomTypeHandler An interface to use for custom type handlersTransformingIterator.TransformerFunction<In,Out> A functional interface similar toFunction, except throwing an exception -
Class Summary Class Description BatchingIterator<ObjectType> An iterator that batches up the inputs into batches of size ‘batchSize’, then returns them in chunks.CloseableIteratorAdapter<T> A wrapper class for IIQ’s CloseableIterator that still implements CloseableIterator, but also implement the broader Iterator and AutoClosable interfaces to allow regular Java stuff to interact with it.ColumnConfig A wrapper around the various ways of structuring report columns.ColumnToken The generic implementation of a colon-separated column token, e.g., ‘col1:blah:stuff’.FilteringIterator<T> Implements a Filtering Iterator that will return only items that match the Predicate.FilteringIterator.DynamicValuePredicate<T> A predicate that returns true if a DynamicValue or a Script returns a value that maps to Boolean true viaUtil.otob(Object).Index<T> An indexing class for associating items in a list with their index in the listIndexingIterator<In> An iterator that keeps track of its index, allowing you to get the current element count.NullCloseableIterator<T> An implementation of CloseableIterator that always contains no items.ResultSetIterator ResultSetIterator.ColumnOutput The output ofResultSetIterator.extractColumnValue(ResultSet, String, Integer), containing details about the column used as well as the actual value.TransformingIterator<In,Out> A class that applies a transformation function to each item of an Iterator before returning it fromIterator.next().