|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.jga.algorithms.Filter.FilterIterable<T>
public static class Filter.FilterIterable<T>
Produces Iterators that only return elements that meet a given condition.
| Constructor Summary | |
|---|---|
Filter.FilterIterable(java.lang.Iterable<? extends T> iter,
UnaryFunctor<T,java.lang.Boolean> pred)
Builds a FilterIterator that will return only qualifying elements of the given iterable. |
|
| Method Summary | |
|---|---|
java.util.Iterator<T> |
iterator()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Filter.FilterIterable(java.lang.Iterable<? extends T> iter,
UnaryFunctor<T,java.lang.Boolean> pred)
| Method Detail |
|---|
public java.util.Iterator<T> iterator()
iterator in interface java.lang.Iterable<T>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||