public interface ProxyIterable extends Proxy
Proxy
,
ProxyIterator
Modifier and Type | Method and Description |
---|---|
static ProxyIterable |
from(Iterable<Object> iterable)
Creates a proxy iterable backed by a Java
Iterable . |
Object |
getIterator()
Returns an iterator.
|
Object getIterator()
Context.asValue(Object)
otherwise an IllegalStateException
is
thrown. Examples for valid return values are:
ProxyIterator
Iterator
, requires host iterable
access
ProxyIterator
static ProxyIterable from(Iterable<Object> iterable)
Iterable
. If the values of the iterable are
host values then they will be unboxed
.