js.util.iterable.IntIterable Maven / Gradle / Ivy
package js.util.iterable;
import js.lang.Any;
import org.teavm.jso.JSBody;
public interface IntIterable extends Any {
@JSBody(script = "return this[Symbol.iterator]()")
T getIterator();
default Iterable iterable() {
return () -> getIterator().getJavaIterator();
}
}