All Downloads are FREE. Search and download functionalities are using the official Maven repository.

js.util.iterable.StringIterable Maven / Gradle / Ivy

package js.util.iterable;

import js.lang.Any;
import org.teavm.jso.JSBody;


public interface StringIterable extends Any {
    @JSBody(script = "return this[Symbol.iterator]()")
     T getIterator();

    default Iterable iterable() {
        return () -> getIterator().getJavaIterator();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy