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