- void accept(T t)
- default Stream.Builder add(T t)
- Stream build()
DoubleStream, IntStream, LongStream, Stream<T>
- static T Stream T concat(Stream<? extends T> a, Stream<? extends T> b)
- static T Stream T of(T... values)
- static T Stream T of(T t)
- static T Stream T empty()
- static T Stream T generate(Supplier s)
- static T Stream T iterate(T seed, UnaryOperator f)
- static IntStream range(int startInclusive, int endExclusive)
- static IntStream rangeClosed(int startInclusive, int endInclusive)
- boolean allMatch (Predicate<? super T> predicate)
- boolean anyMatch (Predicate<? super T> predicate)
- [R,A] R collect (Collector<? super T,A,R> collector)
- [R] R collect (Supplier supplier, BiConsumer<R,? super T> accumulator, BiConsumer<R,R> combiner)
- long count()
- Stream T distinct()
- Stream T filter (Predicate<? super T> predicate)
- Optional T findAny()
- Optional T findFirst()
- R Stream R flatMap(Function<? super T,? extends Stream<? extends R>> mapper)
- DoubleStream flatMapToDouble(Function<? super T,? extends DoubleStream> mapper)
- IntStream flatMapToInt(Function<? super T,? extends IntStream> mapper)
- LongStream flatMapToLong(Function<? super T,? extends LongStream> mapper)
- void forEach(Consumer<? super T> action)
- void forEachOrdered(Consumer<? super T> action)
- Stream T limit(long maxSize)
- R Stream R map(Function<? super T,? extends R> mapper)
- DoubleStream mapToDouble(ToDoubleFunction<? super T> mapper)
- IntStream mapToInt(ToIntFunction<? super T> mapper)
- LongStream mapToLong(ToLongFunction<? super T> mapper)
- Optional T max(Comparator<? super T> comparator)
- Optional T min(Comparator<? super T> comparator)
- boolean noneMatch(Predicate<? super T> predicate)
- Stream T peek(Consumer<? super T> action)
- Optional T reduce(BinaryOperator accumulator)
- T reduce(T identity, BinaryOperator accumulator)
- U U reduce(U identity, BiFunction<U,? super T,U> accumulator, BinaryOperator combiner)
- Stream skip(long n)
- Stream sorted()
- Stream sorted(Comparator<? super T> comparator)
- Object[] toArray()
- A A[] toArray(IntFunction<A[]> generator)