|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.aliasi.util.Iterators
public class Iterators
Static utility methods for iteration.
| Nested Class Summary | |
|---|---|
static class |
Iterators.Array<E>
An Iterator.Array iterates over the elements of an
array specified at construction time. |
static class |
Iterators.ArraySlice<E>
An Iterators.ArraySlice iterates over a slice of
an array specified by start index and length. |
static class |
Iterators.Buffered<E>
An Iterators.Buffered uses a single method to return
objects, buffering the result and returning it as the next element
if it is non-null. |
static class |
Iterators.Empty<E>
An Iterator.Empty is an iterator with no
objects. |
static class |
Iterators.Filter<E>
An Iterators.Filter filters the stream of objects
returned by another iterator by subjecting them to an acceptance
test. |
static class |
Iterators.Modifier<E>
An Iterator.Modifier uses a single abstract method
to operate on the elements returned by an underlying iterator
to return modified objects. |
static class |
Iterators.Pair<E>
An Iterators.Pair provides an iterator
over a sequence of exactly two elements. |
static class |
Iterators.Sequence<E>
An Iterators.Sequence iterates over the elements of an
ordered sequence of iterators in turn. |
static class |
Iterators.Singleton<E>
An Iterator.Singleton is an iterator over a
singleton object. |
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||