public static class API.For1<T1>
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
Iterator<T1> |
yield()
A shortcut for
yield(Function.identity()) . |
<R> Iterator<R> |
yield(java.util.function.Function<? super T1,? extends R> f)
Yields a result for elements of the cross product of the underlying Iterables.
|
public <R> Iterator<R> yield(java.util.function.Function<? super T1,? extends R> f)
R
- type of the resulting Iterator
elementsf
- a function that maps an element of the cross product to a resultIterator
of mapped resultsCopyright © 2017. All Rights Reserved.