|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jjoost.collections.iters.MappedIterator<X,Y>
org.jjoost.collections.iters.MappedClosableIterator<X,Y>
X - Y - public class MappedClosableIterator<X,Y>
Given an Iterator object and a function, yields an Iterator
representing the result of applying that function to every element of the supplied Iterator
| Constructor Summary | |
|---|---|
MappedClosableIterator(ClosableIterator<? extends X> base,
Function<? super X,? extends Y> function)
|
|
| Method Summary | |
|---|---|
void |
close()
|
| Methods inherited from class org.jjoost.collections.iters.MappedIterator |
|---|
hasNext, next, remove |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Iterator |
|---|
hasNext, next, remove |
| Constructor Detail |
|---|
public MappedClosableIterator(ClosableIterator<? extends X> base,
Function<? super X,? extends Y> function)
| Method Detail |
|---|
public void close()
close in interface ClosableIterator<Y>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||