public class Generator<VALUE> extends java.lang.Object implements JsIteratorIterable<VALUE>
Constructor and Description |
---|
Generator() |
Modifier and Type | Method and Description |
---|---|
JsIIterableResult<VALUE> |
next() |
JsIIterableResult<VALUE> |
next(java.lang.Object value) |
JsIIterableResult<VALUE> |
return_(VALUE value) |
JsIIterableResult<VALUE> |
throw_(java.lang.Object exception) |
public JsIIterableResult<VALUE> next()
next
in interface JsIterator<VALUE>
public JsIIterableResult<VALUE> next(java.lang.Object value)
next
in interface JsIterator<VALUE>
public JsIIterableResult<VALUE> return_(VALUE value)
public JsIIterableResult<VALUE> throw_(java.lang.Object exception)