|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Iteration | |
|---|---|
| info.aduna.collections.iterators | |
| info.aduna.iteration | |
| Uses of Iteration in info.aduna.collections.iterators |
|---|
| Classes in info.aduna.collections.iterators that implement Iteration | |
|---|---|
class |
ConvertingIterator<S,T>
A CloseableIterator that converts an iterator over objects of type S (the source type) to an iterator over objects of type T (the target type). |
class |
DelayedIterator<E>
An iterator that delays the creation of the underlying iterator until it is being accessed. |
class |
DistinctIterator<E>
An Iterator that filters any duplicate elements from an underlying iterator. |
class |
EmptyIterator<E>
An iterator that does not contain any elements. |
class |
FilterIterator<E>
A CloseableIterator that wraps another iterator, applying a filter on the objects that are returned. |
class |
IntersectIterator<E>
An iterator that returns the intersection of the results of two iterators. |
class |
IteratorWrapper<E>
Abstract superclass for iterators that wrap another iterator. |
class |
LimitIterator<E>
An iterator that limits the amount of elements that it returns from an underlying iterator to a fixed amount. |
class |
LockingIterator<E>
An iterator that holds on to a lock until the iterator is closed. |
class |
LookAheadIterator<E>
An iterator that looks one element ahead, if necessary, to handle calls to LookAheadIteration.hasNext(). |
class |
MinusIterator<E>
An iterator that returns the results of an iterator (the left argument) minus the results of another iterator (the right argument). |
class |
OffsetIterator<E>
An iterator that skips the first offset elements from an underlying iterator. |
class |
SingletonIterator<E>
An iterator that contains exactly one element. |
class |
UnionIterator<E>
An iterator that returns the bag union of the results of a number of iterators. |
| Methods in info.aduna.collections.iterators that return Iteration | |
|---|---|
protected Iteration<? extends E,RuntimeException> |
DelayedIterator.createIteration()
|
| Uses of Iteration in info.aduna.iteration |
|---|
| Subinterfaces of Iteration in info.aduna.iteration | |
|---|---|
interface |
CloseableIteration<E,X extends Exception>
An Iteration that can be closed to free resources that it is holding. |
| Classes in info.aduna.iteration that implement Iteration | |
|---|---|
class |
CloseableIterationBase<E,X extends Exception>
Base class for CloseableIterations offering common functionality. |
class |
CloseableIteratorIteration<E,X extends Exception>
An Iteration that can convert an Iterator to a
CloseableIteration. |
class |
ConvertingIteration<S,T,X extends Exception>
A CloseableIteration that converts an iteration over objects of type S (the source type) to an iteration over objects of type T (the target type). |
class |
DelayedIteration<E,X extends Exception>
An iteration that delays the creation of the underlying iteration until it is being accessed. |
class |
DistinctIteration<E,X extends Exception>
An Iteration that filters any duplicate elements from an underlying iterator. |
class |
EmptyIteration<E,X extends Exception>
An iterator that does not contain any elements. |
class |
ExceptionConvertingIteration<E,X extends Exception>
A CloseableIteration that converts an arbitrary iteration to an iteration with exceptions of type X. |
class |
FilterIteration<E,X extends Exception>
A CloseableIteration that wraps another Iteration, applying a filter on the objects that are returned. |
class |
IntersectIteration<E,X extends Exception>
An Iteration that returns the intersection of the results of two Iterations. |
class |
IterationWrapper<E,X extends Exception>
Abstract superclass for Iterations that wrap other Iterations. |
class |
IteratorIteration<E,X extends Exception>
An Iteration that can convert an Iterator to a Iteration. |
class |
LimitIteration<E,X extends Exception>
An Iteration that limits the amount of elements that it returns from an underlying Iteration to a fixed amount. |
class |
LockingIteration<E,X extends Exception>
An Iteration that holds on to a lock until the Iteration is closed. |
class |
LookAheadIteration<E,X extends Exception>
An Iteration that looks one element ahead, if necessary, to handle calls to LookAheadIteration.hasNext(). |
class |
MinusIteration<E,X extends Exception>
An Iteration that returns the results of an Iteration (the left argument) minus the results of another Iteration (the right argument). |
class |
OffsetIteration<E,X extends Exception>
An Iteration that skips the first offset elements from an underlying Iteration. |
class |
SingletonIteration<E,X extends Exception>
An Iteration that contains exactly one element. |
class |
UnionIteration<E,X extends Exception>
An Iteration that returns the bag union of the results of a number of Iterations. |
| Fields in info.aduna.iteration declared as Iteration | |
|---|---|
protected Iteration<? extends E,? extends X> |
IterationWrapper.wrappedIter
The wrapped Iteration. |
| Methods in info.aduna.iteration that return Iteration | |
|---|---|
protected abstract Iteration<? extends E,? extends X> |
DelayedIteration.createIteration()
Creates the iteration that should be iterated over. |
| Methods in info.aduna.iteration with parameters of type Iteration | ||
|---|---|---|
static
|
Iterations.addAll(Iteration<? extends E,X> iter,
C collection)
Adds all elements from the supplied Iteration to the specified collection. |
|
static
|
Iterations.asList(Iteration<? extends E,X> iter)
Get a List containing all elements obtained from the specified Iteration. |
|
static
|
Iterations.asSet(Iteration<? extends E,X> iter)
Get a Set containing all elements obtained from the specified Iteration. |
|
static
|
Iterations.closeCloseable(Iteration<?,X> iter)
Closes the supplied Iteration if it is an instance of CloseableIteration, otherwise the request is ignored. |
|
static
|
Iterations.toString(Iteration<?,X> iter,
String separator)
Converts an Iteration to a string by concatenating all of the string representations of objects in the Iteration, divided by a separator. |
|
static
|
Iterations.toString(Iteration<?,X> iter,
String separator,
StringBuilder sb)
Converts an Iteration to a string by concatenating all of the string representations of objects in the Iteration, divided by a separator. |
|
| Constructors in info.aduna.iteration with parameters of type Iteration | |
|---|---|
ConvertingIteration(Iteration<? extends S,? extends X> iter)
Creates a new ConvertingIteration that operates on the supplied source type iteration. |
|
DistinctIteration(Iteration<? extends E,? extends X> iter)
Creates a new DistinctIterator. |
|
ExceptionConvertingIteration(Iteration<? extends E,? extends Exception> iter)
Creates a new ExceptionConvertingIteration that operates on the supplied iteration. |
|
FilterIteration(Iteration<? extends E,? extends X> iter)
|
|
IntersectIteration(Iteration<? extends E,? extends X> arg1,
Iteration<? extends E,? extends X> arg2)
Creates a new IntersectIteration that returns the intersection of the results of two Iterations. |
|
IntersectIteration(Iteration<? extends E,? extends X> arg1,
Iteration<? extends E,? extends X> arg2)
Creates a new IntersectIteration that returns the intersection of the results of two Iterations. |
|
IntersectIteration(Iteration<? extends E,? extends X> arg1,
Iteration<? extends E,? extends X> arg2,
boolean distinct)
Creates a new IntersectIteration that returns the intersection of the results of two Iterations. |
|
IntersectIteration(Iteration<? extends E,? extends X> arg1,
Iteration<? extends E,? extends X> arg2,
boolean distinct)
Creates a new IntersectIteration that returns the intersection of the results of two Iterations. |
|
IterationWrapper(Iteration<? extends E,? extends X> iter)
Creates a new IterationWrapper that operates on the supplied Iteration. |
|
LimitIteration(Iteration<? extends E,X> iter,
int limit)
Creates a new LimitIteration. |
|
LockingIteration(Lock lock,
Iteration<? extends E,X> iter)
Creates a new LockingIteration. |
|
MinusIteration(Iteration<? extends E,X> leftArg,
Iteration<? extends E,X> rightArg)
Creates a new MinusIteration that returns the results of the left argument minus the results of the right argument. |
|
MinusIteration(Iteration<? extends E,X> leftArg,
Iteration<? extends E,X> rightArg)
Creates a new MinusIteration that returns the results of the left argument minus the results of the right argument. |
|
MinusIteration(Iteration<? extends E,X> leftArg,
Iteration<? extends E,X> rightArg,
boolean distinct)
Creates a new MinusIteration that returns the results of the left argument minus the results of the right argument. |
|
MinusIteration(Iteration<? extends E,X> leftArg,
Iteration<? extends E,X> rightArg,
boolean distinct)
Creates a new MinusIteration that returns the results of the left argument minus the results of the right argument. |
|
OffsetIteration(Iteration<? extends E,X> iter,
int offset)
Creates a new OffsetIteration. |
|
UnionIteration(Iteration<? extends E,X>... args)
Creates a new UnionIteration that returns the bag union of the results of a number of Iterations. |
|
| Constructor parameters in info.aduna.iteration with type arguments of type Iteration | |
|---|---|
UnionIteration(Iterable<? extends Iteration<? extends E,X>> args)
Creates a new UnionIteration that returns the bag union of the results of a number of Iterations. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||