import { JavaClass } from "java-bridge"; import { Iterator as java_util_Iterator } from "./../util/Iterator"; import { Spliterator as java_util_Spliterator } from "./../util/Spliterator"; import { Consumer as java_util_function_Consumer } from "./../util/function/Consumer"; /** * This class just defines types, you should import Iterable instead of this. * This was generated by java-bridge. * You should probably not edit this. */ export declare class IterableClass extends JavaClass { /** * @return original return type: 'java.util.Iterator' */ iterator(): Promise; /** * @return original return type: 'java.util.Iterator' */ iteratorSync(): java_util_Iterator | null; /** * @return original return type: 'java.util.Spliterator' */ spliterator(): Promise; /** * @return original return type: 'java.util.Spliterator' */ spliteratorSync(): java_util_Spliterator | null; /** * @param var0 original type: 'java.util.function.Consumer' * @return original return type: 'void' */ forEach(var0: java_util_function_Consumer | null): Promise; /** * @param var0 original type: 'java.util.function.Consumer' * @return original return type: 'void' */ forEachSync(var0: java_util_function_Consumer | null): void; } declare const Iterable_base: typeof IterableClass; /** * Class java.lang.Iterable. * * This actually imports the java class for further use. * The class IterableClass only defines types, this is the class you should actually import. * Please note that this statement imports the underlying java class at runtime, which may take a while. * This was generated by java-bridge. * You should probably not edit this. */ export declare class Iterable extends Iterable_base { /** * Private constructor to prevent instantiation * as this is either an abstract class or an interface */ private constructor(); } export default Iterable; //# sourceMappingURL=Iterable.d.ts.map