import { JavaClass, BasicOrJavaType } from "java-bridge"; import { Consumer as java_util_function_Consumer } from "./function/Consumer"; /** * This class just defines types, you should import Iterator instead of this. * This was generated by java-bridge. * You should probably not edit this. */ export declare class IteratorClass extends JavaClass { /** * @return original return type: 'void' */ remove(): Promise; /** * @return original return type: 'void' */ removeSync(): void; /** * @return original return type: 'boolean' */ hasNext(): Promise; /** * @return original return type: 'boolean' */ hasNextSync(): boolean; /** * @return original return type: 'java.lang.Object' */ next(): Promise; /** * @return original return type: 'java.lang.Object' */ nextSync(): BasicOrJavaType | null; /** * @param var0 original type: 'java.util.function.Consumer' * @return original return type: 'void' */ forEachRemaining(var0: java_util_function_Consumer | null): Promise; /** * @param var0 original type: 'java.util.function.Consumer' * @return original return type: 'void' */ forEachRemainingSync(var0: java_util_function_Consumer | null): void; } declare const Iterator_base: typeof IteratorClass; /** * Class java.util.Iterator. * * This actually imports the java class for further use. * The class IteratorClass 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 Iterator extends Iterator_base { /** * Private constructor to prevent instantiation * as this is either an abstract class or an interface */ private constructor(); } export default Iterator; //# sourceMappingURL=Iterator.d.ts.map