Methods

@:throws("java.lang.Exception")close():Void

collect<R, A>(param1:Collector<Dynamic, A, R>):R

collect<R>(param1:Supplier<R>, param2:BiConsumer<R, Dynamic>, param3:BiConsumer<R, R>):R

flatMap<R>(param1:Function<Dynamic, Stream<R>>):Stream<R>

limit(param1:Int64):Stream<T>

map<R>(param1:Function<Dynamic, R>):Stream<R>

reduce<U>(param1:U, param2:BiFunction<U, Dynamic, U>, param3:BinaryOperator<U>):U

reduce(param1:T, param2:BinaryOperator<T>):T

reduce(param1:BinaryOperator<T>):Optional<T>

skip(param1:Int64):Stream<T>