Package io.deephaven.web.client.fu
Class JsIterator<T>
java.lang.Object
io.deephaven.web.client.fu.JsIterator<T>
- Type Parameters:
T
-
@JsType(namespace="<global>",
name="Iterator")
@TsInterface
public class JsIterator<T>
extends Object
This is part of EcmaScript 2015, documented here for completeness. It supports a single method, next(), which
returns an object with a boolean named done (true if there are no more items to return; false
otherwise), and optionally some T instance, value, if there was at least one remaining item.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static interface
Copied from elemental2, but has a concrete subclass to permit us to export it back to TS. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JsIterator
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-