## Package org.apache.mahout.common.iterator

Class Summary
ArrayIterator<T>: Simple, fast `Iterator` for an array.
DelegatingIterator<T>: An iterator that delegates to another iterator.
EmptyIterable<T>: An `Iterable` over no elements: always produces an `Iterator` which iterates over nothing.
EmptyIterator<T>: An empty `Iterator`, which iterates over nothing.
FixedSizeSamplingIterator<T>: Sample a fixed number of elements from an Iterator.
IteratorIterable<T>: Simple utility class that makes an `Iterator` `Iterable` by returning the `Iterator` itself.
IteratorUtils: `Iterator`-related methods without a better home.
PermutingIterator<T>: An `Iterator` that iterates in a random order over a given sequence of elements.
SamplingIterable<T>: Wraps an `Iterable` whose `Iterable.iterator()` returns only some subset of the elements that it would, as determined by a iterator rate parameter.
SamplingIterator<T>: Wraps an `Iterator` and returns only some subset of the elements that it would, as determined by a iterator rate parameter.
StableFixedSizeSamplingIterator<T>: Sample a fixed number of elements from an Iterator.

Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.