Constructor and Description |
---|
IterableToIteratorFunction() |
Modifier and Type | Method and Description |
---|---|
Iterator<T> |
apply(Iterable<T> iterable)
Returns the result of applying this function to
input . |
static <T> Function<Iterable<T>,Iterator<T>> |
instance() |
public Iterator<T> apply(Iterable<T> iterable)
Function
input
. This method is generally
expected, but not absolutely required, to have the following properties:
Objects.equal
(a, b)
implies that Objects.equal(function.apply(a),
function.apply(b))
.
Copyright © 2013 Seam Framework. All Rights Reserved.