|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.jga.algorithms.Transform.AdjacentIterable<T,R>
public static class Transform.AdjacentIterable<T,R>
Produces iterators that will process successive pairs of elements of an iterable resource and present the results.
| Constructor Summary | |
|---|---|
Transform.AdjacentIterable(java.lang.Iterable<? extends T> base,
BinaryFunctor<T,T,R> process)
Builds a TransformIterable for the given base. |
|
| Method Summary | |
|---|---|
java.util.Iterator<R> |
iterator()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Transform.AdjacentIterable(java.lang.Iterable<? extends T> base,
BinaryFunctor<T,T,R> process)
java.lang.IllegalArgumentException - if the base iterable is null| Method Detail |
|---|
public java.util.Iterator<R> iterator()
iterator in interface java.lang.Iterable<R>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||