Uses of Annotation Interface
com.landawn.abacus.annotation.TerminalOp
Packages that use TerminalOp
-
Uses of TerminalOp in com.landawn.abacus.util
Methods in com.landawn.abacus.util with annotations of type TerminalOpModifier and TypeMethodDescriptionCheckedStream.acceptIfNotEmpty
(Throwables.Consumer<? super CheckedStream<T, E>, E2> action) <E2 extends Exception>
booleanCheckedStream.allMatch
(Throwables.Predicate<? super T, E2> predicate) <E2 extends Exception>
booleanCheckedStream.anyMatch
(Throwables.Predicate<? super T, E2> predicate) <R,
E2 extends Exception>
u.Optional<R>CheckedStream.applyIfNotEmpty
(Throwables.Function<? super CheckedStream<T, E>, R, E2> func) <R> ContinuableFuture<R>
CheckedStream.asyncCall
(Throwables.Function<? super CheckedStream<T, E>, R, ? extends Exception> terminalAction) <R> ContinuableFuture<R>
CheckedStream.asyncCall
(Throwables.Function<? super CheckedStream<T, E>, R, ? extends Exception> terminalAction, Executor executor) CheckedStream.asyncRun
(Throwables.Consumer<? super CheckedStream<T, E>, ? extends Exception> terminalAction) CheckedStream.asyncRun
(Throwables.Consumer<? super CheckedStream<T, E>, ? extends Exception> terminalAction, Executor executor) <E2 extends Exception>
u.OptionalDoubleCheckedStream.averageDouble
(Throwables.ToDoubleFunction<? super T, E2> func) <E2 extends Exception>
u.OptionalDoubleCheckedStream.averageInt
(Throwables.ToIntFunction<? super T, E2> func) <E2 extends Exception>
u.OptionalDoubleCheckedStream.averageLong
(Throwables.ToLongFunction<? super T, E2> func) void
CheckedStream.close()
It will be called by terminal operations in final.CheckedStream.collect
(Throwables.Supplier<R, E2> supplier, Throwables.BiConsumer<? super R, ? super T, E3> accumulator) CheckedStream.collect
(Throwables.Supplier<R, E2> supplier, Throwables.BiConsumer<? super R, ? super T, E3> accumulator, Throwables.Function<? super R, ? extends RR, E4> finisher) <R> R
<R,
E2 extends Exception>
voidCheckedStream.collectThenAccept
(Collector<? super T, ?, R> collector, Throwables.Consumer<? super R, E2> consumer) <R,
RR, E2 extends Exception>
RRCheckedStream.collectThenApply
(Collector<? super T, ?, R> collector, Throwables.Function<? super R, ? extends RR, E2> func) boolean
CheckedStream.containsAll
(Collection<? extends T> c) final boolean
CheckedStream.containsAll
(T... a) boolean
CheckedStream.containsAny
(Collection<? extends T> c) final boolean
CheckedStream.containsAny
(T... a) long
CheckedStream.count()
CheckedStream.elementAt
(long position) <E2 extends Exception>
u.Optional<T>CheckedStream.findAny
(Throwables.Predicate<? super T, E2> predicate) Same asfindFirst(Throwables.Predicate)
.<E2 extends Exception>
u.Optional<T>CheckedStream.findFirst
(Throwables.Predicate<? super T, E2> predicate) <E2 extends Exception>
u.Optional<T>CheckedStream.findFirstOrAny
(Throwables.Predicate<? super T, E2> predicateForFirst) Returns the first element matched bypredicateForFirst
if found or the first element if this stream is not empty Otherwise an emptyOptional<T>
will be returned.<E2 extends Exception,
E3 extends Exception>
u.Optional<T>CheckedStream.findFirstOrAny
(Throwables.Predicate<? super T, E2> predicateForFirst, Throwables.Predicate<? super T, E3> predicateForAny) Returns the first element matched bypredicateForFirst
if found or the first element matched bypredicateForAny
.<E2 extends Exception>
u.Optional<T>CheckedStream.findFirstOrLast
(Throwables.Predicate<? super T, E2> predicateForFirst) Returns the first element matched bypredicateForFirst
if found or the last element if this stream is not empty Otherwise an emptyOptional<T>
will be returned.<E2 extends Exception>
u.Optional<T>CheckedStream.findLast
(Throwables.Predicate<? super T, E2> predicate) Consider using:stream.reversed().findFirst(predicate)
for better performance if possible.CheckedStream.first()
<E2 extends Exception>
voidCheckedStream.forEach
(Throwables.Consumer<? super T, E2> action) CheckedStream.forEach
(Throwables.Consumer<? super T, E2> action, Throwables.Runnable<E3> onComplete) CheckedStream.forEach
(Throwables.Function<? super T, ? extends Iterable<? extends U>, E2> flatMapper, Throwables.BiConsumer<? super T, ? super U, E3> action) CheckedStream.forEach
(Throwables.Function<? super T, ? extends Iterable<T2>, E2> flatMapper, Throwables.Function<? super T2, ? extends Iterable<T3>, E3> flatMapper2, Throwables.TriConsumer<? super T, ? super T2, ? super T3, E4> action) <E2 extends Exception>
voidCheckedStream.forEachIndexed
(Throwables.IntObjConsumer<? super T, E2> action) <E2 extends Exception>
voidCheckedStream.forEachInParallel
(int threadNum, Throwables.Consumer<? super T, E2> action) <E2 extends Exception>
voidCheckedStream.forEachInParallel
(int threadNum, Throwables.Consumer<? super T, E2> action, Executor executor) <E2 extends Exception>
voidCheckedStream.forEachPair
(int increment, Throwables.BiConsumer<? super T, ? super T, E2> action) For each pair.<E2 extends Exception>
voidCheckedStream.forEachPair
(Throwables.BiConsumer<? super T, ? super T, E2> action) For each pair.<E2 extends Exception>
voidCheckedStream.forEachTriple
(int increment, Throwables.TriConsumer<? super T, ? super T, ? super T, E2> action) For each triple.<E2 extends Exception>
voidCheckedStream.forEachTriple
(Throwables.TriConsumer<? super T, ? super T, ? super T, E2> action) For each triple.<E2 extends Exception>
voidCheckedStream.forEachUntil
(MutableBoolean flagToBreak, Throwables.Consumer<? super T, E2> action) Iterate and executeaction
untilflagToBreak
is set true.<E2 extends Exception>
voidCheckedStream.forEachUntil
(Throwables.BiConsumer<? super T, MutableBoolean, E2> action) Iterate and executeaction
until the flag is set true.CheckedStream.groupTo
(Throwables.Function<? super T, ? extends K, E2> keyMapper) CheckedStream.groupTo
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Throwables.Function<? super T, ? extends V, E3> valueMapper) CheckedStream.groupTo
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Throwables.Function<? super T, ? extends V, E3> valueMapper, Supplier<? extends M> mapFactory) CheckedStream.groupTo
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Throwables.Function<? super T, ? extends V, E3> valueMapper, Collector<? super V, ?, D> downstream) CheckedStream.groupTo
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Throwables.Function<? super T, ? extends V, E3> valueMapper, Collector<? super V, ?, D> downstream, Supplier<? extends M> mapFactory) CheckedStream.groupTo
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Supplier<? extends M> mapFactory) CheckedStream.groupTo
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Collector<? super T, ?, D> downstream) CheckedStream.groupTo
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Collector<? super T, ?, D> downstream, Supplier<? extends M> mapFactory) boolean
CheckedStream.hasDuplicates()
CheckedStream.join
(CharSequence delimiter) CheckedStream.join
(CharSequence delimiter, CharSequence prefix, CharSequence suffix) CheckedStream.kthLargest
(int k, Comparator<? super T> comparator) CheckedStream.last()
CheckedStream.max
(Comparator<? super T> comparator) CheckedStream.maxBy
(Function<? super T, ? extends Comparable> keyMapper) CheckedStream.min
(Comparator<? super T> comparator) CheckedStream.minBy
(Function<? super T, ? extends Comparable> keyMapper) <E2 extends Exception>
booleanCheckedStream.nMatch
(long atLeast, long atMost, Throwables.Predicate<? super T, E2> predicate) <E2 extends Exception>
booleanCheckedStream.noneMatch
(Throwables.Predicate<? super T, E2> predicate) CheckedStream.onlyOne()
CheckedStream.partitionTo
(Throwables.Predicate<? super T, E2> predicate) CheckedStream.partitionTo
(Throwables.Predicate<? super T, E2> predicate, Collector<? super T, ?, D> downstream) CheckedStream.percentiles
(Comparator<? super T> comparator) long
long
CheckedStream.persist
(File output, Throwables.BiConsumer<? super T, Writer, IOException> writeLine) long
long
long
CheckedStream.persist
(File output, String header, String tail, Throwables.BiConsumer<? super T, Writer, IOException> writeLine) long
CheckedStream.persist
(File output, String header, String tail, Throwables.Function<? super T, String, E> toLine) long
CheckedStream.persist
(OutputStream output, Throwables.Function<? super T, String, E> toLine) long
CheckedStream.persist
(OutputStream output, String header, String tail, Throwables.Function<? super T, String, E> toLine) long
CheckedStream.persist
(Writer output, Throwables.BiConsumer<? super T, Writer, IOException> writeLine) long
long
CheckedStream.persist
(Writer output, String header, String tail, Throwables.BiConsumer<? super T, Writer, IOException> writeLine) long
CheckedStream.persist
(Writer output, String header, String tail, Throwables.Function<? super T, String, E> toLine) long
CheckedStream.persist
(Connection conn, String insertSQL, int batchSize, long batchIntervalInMillis, Throwables.BiConsumer<? super T, ? super PreparedStatement, SQLException> stmtSetter) long
CheckedStream.persist
(PreparedStatement stmt, int batchSize, long batchIntervalInMillis, Throwables.BiConsumer<? super T, ? super PreparedStatement, SQLException> stmtSetter) long
CheckedStream.persist
(DataSource ds, String insertSQL, int batchSize, long batchIntervalInMillis, Throwables.BiConsumer<? super T, ? super PreparedStatement, SQLException> stmtSetter) long
CheckedStream.persistToCSV
(File output) Each line in the output file/Writer is an array of JSON String without root bracket.long
CheckedStream.persistToCSV
(File output, Collection<String> csvHeaders) Each line in the output file/Writer is an array of JSON String without root bracket.long
CheckedStream.persistToCSV
(OutputStream output) Each line in the output file/Writer is an array of JSON String without root bracket.long
CheckedStream.persistToCSV
(OutputStream output, Collection<String> csvHeaders) Each line in the output file/Writer is an array of JSON String without root bracket.long
CheckedStream.persistToCSV
(Writer output) Each line in the output file/Writer is an array of JSON String without root bracket.long
CheckedStream.persistToCSV
(Writer output, Collection<String> csvHeaders) Each line in the output file/Writer is an array of JSON String without root bracket.long
CheckedStream.persistToJSON
(File output) long
CheckedStream.persistToJSON
(OutputStream output) long
CheckedStream.persistToJSON
(Writer output) void
CheckedStream.println()
<E2 extends Exception>
u.Optional<T>CheckedStream.reduce
(Throwables.BinaryOperator<T, E2> accumulator) <U,
E2 extends Exception>
UCheckedStream.reduce
(U identity, Throwables.BiFunction<U, ? super T, U, E2> accumulator) <E2 extends Exception>
u.Optional<T>CheckedStream.reduceUntil
(Throwables.BinaryOperator<T, E2> accumulator, Throwables.Predicate<? super T, E2> conditionToBreak) <U,
E2 extends Exception>
UCheckedStream.reduceUntil
(U identity, Throwables.BiFunction<U, ? super T, U, E2> accumulator, Throwables.Predicate<? super U, E2> conditionToBreak) <E2 extends Exception>
doubleCheckedStream.sumDouble
(Throwables.ToDoubleFunction<? super T, E2> func) <E2 extends Exception>
longCheckedStream.sumInt
(Throwables.ToIntFunction<? super T, E2> func) <E2 extends Exception>
longCheckedStream.sumLong
(Throwables.ToLongFunction<? super T, E2> func) Object[]
CheckedStream.toArray()
<A> A[]
CheckedStream.toArray
(IntFunction<A[]> generator) <C extends Collection<T>>
CCheckedStream.toCollection
(Supplier<? extends C> supplier) <CC extends Collection<T>,
E2 extends Exception>
voidCheckedStream.toCollectionThenAccept
(Supplier<? extends CC> supplier, Throwables.Consumer<? super CC, E2> consumer) <R,
CC extends Collection<T>, E2 extends Exception>
RCheckedStream.toCollectionThenApply
(Supplier<? extends CC> supplier, Throwables.Function<? super CC, R, E2> func) CheckedStream.toDataSet()
The first row will be used as column names if its type is array or list, or obtain the column names from first row if its type is bean or map.If the specifiedcolumnNames
is null or empty, the first row will be used as column names if its type is array or list, or obtain the column names from first row if its type is bean or map.CheckedStream.toImmutableList()
<K,
V, E2 extends Exception, E3 extends Exception>
ImmutableMap<K,V> CheckedStream.toImmutableMap
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Throwables.Function<? super T, ? extends V, E3> valueMapper) <K,
V, E2 extends Exception, E3 extends Exception, E4 extends Exception>
ImmutableMap<K,V> CheckedStream.toImmutableMap
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Throwables.Function<? super T, ? extends V, E3> valueMapper, Throwables.BinaryOperator<V, E4> mergeFunction) CheckedStream.toImmutableSet()
CheckedStream.toList()
<E2 extends Exception>
voidCheckedStream.toListThenAccept
(Throwables.Consumer<? super List<T>, E2> consumer) <R,
E2 extends Exception>
RCheckedStream.toListThenApply
(Throwables.Function<? super List<T>, R, E2> func) CheckedStream.toLongMultiset()
CheckedStream.toLongMultiset
(Supplier<? extends LongMultiset<T>> supplier) CheckedStream.toMap
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Throwables.Function<? super T, ? extends V, E3> valueMapper) CheckedStream.toMap
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Throwables.Function<? super T, ? extends V, E3> valueMapper, Throwables.BinaryOperator<V, E4> mergeFunction) CheckedStream.toMap
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Throwables.Function<? super T, ? extends V, E3> valueMapper, Throwables.BinaryOperator<V, E4> mergeFunction, Supplier<? extends M> mapFactory) CheckedStream.toMap
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Throwables.Function<? super T, ? extends V, E3> valueMapper, Supplier<? extends M> mapFactory) <K,
E2 extends Exception>
ListMultimap<K,T> CheckedStream.toMultimap
(Throwables.Function<? super T, ? extends K, E2> keyMapper) <K,
V, E2 extends Exception, E3 extends Exception>
ListMultimap<K,V> CheckedStream.toMultimap
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Throwables.Function<? super T, ? extends V, E3> valueMapper) <K,
V, C extends Collection<V>, M extends Multimap<K, V, C>, E2 extends Exception, E3 extends Exception>
MCheckedStream.toMultimap
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Throwables.Function<? super T, ? extends V, E3> valueMapper, Supplier<? extends M> mapFactory) <K,
V extends Collection<T>, M extends Multimap<K, T, V>, E2 extends Exception>
MCheckedStream.toMultimap
(Throwables.Function<? super T, ? extends K, E2> keyMapper, Supplier<? extends M> mapFactory) CheckedStream.toMultiset()
CheckedStream.toMultiset
(Supplier<? extends Multiset<T>> supplier) CheckedStream.toSet()
<E2 extends Exception>
voidCheckedStream.toSetThenAccept
(Throwables.Consumer<? super Set<T>, E2> consumer) <R,
E2 extends Exception>
RCheckedStream.toSetThenApply
(Throwables.Function<? super Set<T>, R, E2> func) -
Uses of TerminalOp in com.landawn.abacus.util.stream
Methods in com.landawn.abacus.util.stream with annotations of type TerminalOpModifier and TypeMethodDescriptionBaseStream.acceptIfNotEmpty
(Throwables.Consumer<? super S, E> action) This is a terminal operation.abstract <E extends Exception>
booleanByteStream.allMatch
(Throwables.BytePredicate<E> predicate) abstract <E extends Exception>
booleanCharStream.allMatch
(Throwables.CharPredicate<E> predicate) abstract <E extends Exception>
booleanDoubleStream.allMatch
(Throwables.DoublePredicate<E> predicate) <E extends Exception>
booleanEntryStream.allMatch
(Throwables.BiPredicate<? super K, ? super V, E> predicate) <E extends Exception>
booleanEntryStream.allMatch
(Throwables.Predicate<? super Map.Entry<K, V>, E> predicate) abstract <E extends Exception>
booleanFloatStream.allMatch
(Throwables.FloatPredicate<E> predicate) abstract <E extends Exception>
booleanIntStream.allMatch
(Throwables.IntPredicate<E> predicate) abstract <E extends Exception>
booleanLongStream.allMatch
(Throwables.LongPredicate<E> predicate) abstract <E extends Exception>
booleanShortStream.allMatch
(Throwables.ShortPredicate<E> predicate) abstract <E extends Exception>
booleanStream.allMatch
(Throwables.Predicate<? super T, E> predicate) abstract <E extends Exception>
booleanByteStream.anyMatch
(Throwables.BytePredicate<E> predicate) abstract <E extends Exception>
booleanCharStream.anyMatch
(Throwables.CharPredicate<E> predicate) abstract <E extends Exception>
booleanDoubleStream.anyMatch
(Throwables.DoublePredicate<E> predicate) <E extends Exception>
booleanEntryStream.anyMatch
(Throwables.BiPredicate<? super K, ? super V, E> predicate) <E extends Exception>
booleanEntryStream.anyMatch
(Throwables.Predicate<? super Map.Entry<K, V>, E> predicate) abstract <E extends Exception>
booleanFloatStream.anyMatch
(Throwables.FloatPredicate<E> predicate) abstract <E extends Exception>
booleanIntStream.anyMatch
(Throwables.IntPredicate<E> predicate) abstract <E extends Exception>
booleanLongStream.anyMatch
(Throwables.LongPredicate<E> predicate) abstract <E extends Exception>
booleanShortStream.anyMatch
(Throwables.ShortPredicate<E> predicate) abstract <E extends Exception>
booleanStream.anyMatch
(Throwables.Predicate<? super T, E> predicate) <R,
E extends Exception>
u.Optional<R>BaseStream.applyIfNotEmpty
(Throwables.Function<? super S, ? extends R, E> func) This is a terminal operation.<R> ContinuableFuture<R>
Stream.asyncCall
(Throwables.Function<? super Stream<T>, R, ? extends Exception> terminalAction) <R> ContinuableFuture<R>
Stream.asyncCall
(Throwables.Function<? super Stream<T>, R, ? extends Exception> terminalAction, Executor executor) Stream.asyncRun
(Throwables.Consumer<? super Stream<T>, ? extends Exception> terminalAction) Stream.asyncRun
(Throwables.Consumer<? super Stream<T>, ? extends Exception> terminalAction, Executor executor) abstract u.OptionalDouble
ByteStream.average()
abstract u.OptionalDouble
CharStream.average()
abstract u.OptionalDouble
DoubleStream.average()
abstract u.OptionalDouble
FloatStream.average()
abstract u.OptionalDouble
IntStream.average()
abstract u.OptionalDouble
LongStream.average()
abstract u.OptionalDouble
ShortStream.average()
abstract u.OptionalDouble
Stream.averageDouble
(ToDoubleFunction<? super T> mapper) abstract u.OptionalDouble
Stream.averageInt
(ToIntFunction<? super T> mapper) abstract u.OptionalDouble
Stream.averageLong
(ToLongFunction<? super T> mapper) abstract <R> R
ByteStream.collect
(Supplier<R> supplier, ObjByteConsumer<? super R> accumulator) Only call this method when the returned typeR
is one types:Collection/Map/StringBuilder/Multiset/LongMultiset/Multimap/BooleanList/IntList/.../DoubleList
.abstract <R> R
ByteStream.collect
(Supplier<R> supplier, ObjByteConsumer<? super R> accumulator, BiConsumer<R, R> combiner) abstract <R> R
CharStream.collect
(Supplier<R> supplier, ObjCharConsumer<? super R> accumulator) Only call this method when the returned typeR
is one types:Collection/Map/StringBuilder/Multiset/LongMultiset/Multimap/BooleanList/IntList/.../DoubleList
.abstract <R> R
CharStream.collect
(Supplier<R> supplier, ObjCharConsumer<? super R> accumulator, BiConsumer<R, R> combiner) abstract <R> R
DoubleStream.collect
(Supplier<R> supplier, ObjDoubleConsumer<? super R> accumulator) Only call this method when the returned typeR
is one types:Collection/Map/StringBuilder/Multiset/LongMultiset/Multimap/BooleanList/IntList/.../DoubleList
.abstract <R> R
DoubleStream.collect
(Supplier<R> supplier, ObjDoubleConsumer<? super R> accumulator, BiConsumer<R, R> combiner) <R> R
Only call this method when the returned typeR
is one types:Collection/Map/StringBuilder/Multiset/LongMultiset/Multimap/BooleanList/IntList/.../DoubleList
.<R> R
EntryStream.collect
(Supplier<R> supplier, BiConsumer<? super R, ? super Map.Entry<K, V>> accumulator, BiConsumer<R, R> combiner) <R> R
abstract <R> R
FloatStream.collect
(Supplier<R> supplier, ObjFloatConsumer<? super R> accumulator) Only call this method when the returned typeR
is one types:Collection/Map/StringBuilder/Multiset/LongMultiset/Multimap/BooleanList/IntList/.../DoubleList
.abstract <R> R
FloatStream.collect
(Supplier<R> supplier, ObjFloatConsumer<? super R> accumulator, BiConsumer<R, R> combiner) abstract <R> R
IntStream.collect
(Supplier<R> supplier, ObjIntConsumer<? super R> accumulator) Only call this method when the returned typeR
is one types:Collection/Map/StringBuilder/Multiset/LongMultiset/Multimap/BooleanList/IntList/.../DoubleList
.abstract <R> R
IntStream.collect
(Supplier<R> supplier, ObjIntConsumer<? super R> accumulator, BiConsumer<R, R> combiner) abstract <R> R
LongStream.collect
(Supplier<R> supplier, ObjLongConsumer<? super R> accumulator) Only call this method when the returned typeR
is one types:Collection/Map/StringBuilder/Multiset/LongMultiset/Multimap/BooleanList/IntList/.../DoubleList
.abstract <R> R
LongStream.collect
(Supplier<R> supplier, ObjLongConsumer<? super R> accumulator, BiConsumer<R, R> combiner) abstract <R> R
ShortStream.collect
(Supplier<R> supplier, ObjShortConsumer<? super R> accumulator) Only call this method when the returned typeR
is one types:Collection/Map/StringBuilder/Multiset/LongMultiset/Multimap/BooleanList/IntList/.../DoubleList
.abstract <R> R
ShortStream.collect
(Supplier<R> supplier, ObjShortConsumer<? super R> accumulator, BiConsumer<R, R> combiner) abstract <R> R
Stream.collect
(Supplier<R> supplier, BiConsumer<? super R, ? super T> accumulator) Only call this method when the returned typeR
is one types:Collection/Map/StringBuilder/Multiset/LongMultiset/Multimap/BooleanList/IntList/.../DoubleList
.abstract <R> R
Stream.collect
(Supplier<R> supplier, BiConsumer<? super R, ? super T> accumulator, BiConsumer<R, R> combiner) abstract <R> R
<R,
E extends Exception>
voidEntryStream.collectThenAccept
(Collector<? super Map.Entry<K, V>, ?, R> downstream, Throwables.Consumer<? super R, E> consumer) abstract <R,
E extends Exception>
voidStream.collectThenAccept
(Collector<? super T, ?, R> downstream, Throwables.Consumer<? super R, E> consumer) <R,
RR, E extends Exception>
RREntryStream.collectThenApply
(Collector<? super Map.Entry<K, V>, ?, R> downstream, Throwables.Function<? super R, ? extends RR, E> finisher) abstract <R,
RR, E extends Exception>
RRStream.collectThenApply
(Collector<? super T, ?, R> downstream, Throwables.Function<? super R, ? extends RR, E> func) abstract boolean
Stream.containsAll
(Collection<? extends T> c) abstract boolean
Stream.containsAll
(T... a) abstract boolean
Stream.containsAny
(Collection<? extends T> c) abstract boolean
Stream.containsAny
(T... a) long
BaseStream.count()
BaseStream.elementAt
(long position) abstract <E extends Exception>
u.OptionalByteByteStream.findAny
(Throwables.BytePredicate<E> predicate) abstract <E extends Exception>
u.OptionalCharCharStream.findAny
(Throwables.CharPredicate<E> predicate) abstract <E extends Exception>
u.OptionalDoubleDoubleStream.findAny
(Throwables.DoublePredicate<E> predicate) <E extends Exception>
u.Optional<Map.Entry<K,V>> EntryStream.findAny
(Throwables.BiPredicate<? super K, ? super V, E> predicate) <E extends Exception>
u.Optional<Map.Entry<K,V>> EntryStream.findAny
(Throwables.Predicate<? super Map.Entry<K, V>, E> predicate) abstract <E extends Exception>
u.OptionalFloatFloatStream.findAny
(Throwables.FloatPredicate<E> predicate) abstract <E extends Exception>
u.OptionalIntIntStream.findAny
(Throwables.IntPredicate<E> predicate) abstract <E extends Exception>
u.OptionalLongLongStream.findAny
(Throwables.LongPredicate<E> predicate) abstract <E extends Exception>
u.OptionalShortShortStream.findAny
(Throwables.ShortPredicate<E> predicate) abstract <E extends Exception>
u.Optional<T>Stream.findAny
(Throwables.Predicate<? super T, E> predicate) Returns any element matched bypredicateForFirst
if found, Otherwise an emptyOptional<T>
will be returned.abstract <E extends Exception>
u.OptionalByteByteStream.findFirst
(Throwables.BytePredicate<E> predicate) abstract <E extends Exception>
u.OptionalCharCharStream.findFirst
(Throwables.CharPredicate<E> predicate) abstract <E extends Exception>
u.OptionalDoubleDoubleStream.findFirst
(Throwables.DoublePredicate<E> predicate) <E extends Exception>
u.Optional<Map.Entry<K,V>> EntryStream.findFirst
(Throwables.BiPredicate<? super K, ? super V, E> predicate) <E extends Exception>
u.Optional<Map.Entry<K,V>> EntryStream.findFirst
(Throwables.Predicate<? super Map.Entry<K, V>, E> predicate) abstract <E extends Exception>
u.OptionalFloatFloatStream.findFirst
(Throwables.FloatPredicate<E> predicate) abstract <E extends Exception>
u.OptionalIntIntStream.findFirst
(Throwables.IntPredicate<E> predicate) abstract <E extends Exception>
u.OptionalLongLongStream.findFirst
(Throwables.LongPredicate<E> predicate) abstract <E extends Exception>
u.OptionalShortShortStream.findFirst
(Throwables.ShortPredicate<E> predicate) abstract <E extends Exception>
u.Optional<T>Stream.findFirst
(Throwables.Predicate<? super T, E> predicate) Returns the first element matched bypredicateForFirst
if found, Otherwise an emptyOptional<T>
will be returned.abstract <E extends Exception>
u.OptionalByteByteStream.findFirstOrAny
(Throwables.BytePredicate<E> predicateForFirst) Returns the first element matched bypredicateForFirst
if found or the first element if this stream is not empty Otherwise an emptyOptionalByte
will be returned.abstract <E extends Exception>
u.OptionalCharCharStream.findFirstOrAny
(Throwables.CharPredicate<E> predicateForFirst) Returns the first element matched bypredicateForFirst
if found or the first element if this stream is not empty Otherwise an emptyOptionalChar
will be returned.abstract <E extends Exception>
u.OptionalDoubleDoubleStream.findFirstOrAny
(Throwables.DoublePredicate<E> predicateForFirst) Returns the first element matched bypredicateForFirst
if found or the first element if this stream is not empty Otherwise an emptyOptionalDouble
will be returned.<E extends Exception>
u.Optional<Map.Entry<K,V>> EntryStream.findFirstOrAny
(Throwables.BiPredicate<? super K, ? super V, E> predicate) Returns the first element matched bypredicateForFirst
if found or the first element if this stream is not empty Otherwise an emptyOptional<Map.Entry<K, V>>
will be returned.<E extends Exception>
u.Optional<Map.Entry<K,V>> EntryStream.findFirstOrAny
(Throwables.Predicate<? super Map.Entry<K, V>, E> predicate) Returns the first element matched bypredicateForFirst
if found or the first element if this stream is not empty Otherwise an emptyOptional<Map.Entry<K, V>>
will be returned.abstract <E extends Exception>
u.OptionalFloatFloatStream.findFirstOrAny
(Throwables.FloatPredicate<E> predicateForFirst) Returns the first element matched bypredicateForFirst
if found or the first element if this stream is not empty Otherwise an emptyOptionalFloat
will be returned.abstract <E extends Exception>
u.OptionalIntIntStream.findFirstOrAny
(Throwables.IntPredicate<E> predicateForFirst) Returns the first element matched bypredicateForFirst
if found or the first element if this stream is not empty Otherwise an emptyOptionalInt
will be returned.abstract <E extends Exception>
u.OptionalLongLongStream.findFirstOrAny
(Throwables.LongPredicate<E> predicateForFirst) Returns the first element matched bypredicateForFirst
if found or the first element if this stream is not empty Otherwise an emptyOptionalLong
will be returned.abstract <E extends Exception>
u.OptionalShortShortStream.findFirstOrAny
(Throwables.ShortPredicate<E> predicateForFirst) Returns the first element matched bypredicateForFirst
if found or the first element if this stream is not empty Otherwise an emptyOptionalShort
will be returned.abstract <E extends Exception>
u.Optional<T>Stream.findFirstOrAny
(Throwables.Predicate<? super T, E> predicateForFirst) Returns the first element matched bypredicateForFirst
if found or the first element if this stream is not empty Otherwise an emptyOptional<T>
will be returned.abstract <E extends Exception,
E2 extends Exception>
u.Optional<T>Stream.findFirstOrAny
(Throwables.Predicate<? super T, E> predicateForFirst, Throwables.Predicate<? super T, E2> predicateForAny) Returns the first element matched bypredicateForFirst
if found or any element matched bypredicateForAny
(If this is a sequential stream, it will always be the first element matched bypredicateForAny
).abstract <E extends Exception>
u.OptionalByteByteStream.findFirstOrLast
(Throwables.BytePredicate<E> predicateForFirst) Returns the first element matched bypredicateForFirst
if found or the last element if this stream is not empty Otherwise an emptyOptionalByte
will be returned.abstract <E extends Exception>
u.OptionalCharCharStream.findFirstOrLast
(Throwables.CharPredicate<E> predicateForFirst) Returns the first element matched bypredicateForFirst
if found or the last element if this stream is not empty Otherwise an emptyOptionalChar
will be returned.abstract <E extends Exception>
u.OptionalDoubleDoubleStream.findFirstOrLast
(Throwables.DoublePredicate<E> predicateForFirst) Returns the first element matched bypredicateForFirst
if found or the last element if this stream is not empty Otherwise an emptyOptionalDouble
will be returned.<E extends Exception>
u.Optional<Map.Entry<K,V>> EntryStream.findFirstOrLast
(Throwables.BiPredicate<? super K, ? super V, E> predicate) Returns the first element matched bypredicateForFirst
if found or the last element if this stream is not empty Otherwise an emptyOptional<Map.Entry<K, V>>
will be returned.<E extends Exception>
u.Optional<Map.Entry<K,V>> EntryStream.findFirstOrLast
(Throwables.Predicate<? super Map.Entry<K, V>, E> predicate) Returns the first element matched bypredicateForFirst
if found or the last element if this stream is not empty Otherwise an emptyOptional<Map.Entry<K, V>>
will be returned.abstract <E extends Exception>
u.OptionalFloatFloatStream.findFirstOrLast
(Throwables.FloatPredicate<E> predicateForFirst) Returns the first element matched bypredicateForFirst
if found or the last element if this stream is not empty Otherwise an emptyOptionalFloat
will be returned.abstract <E extends Exception>
u.OptionalIntIntStream.findFirstOrLast
(Throwables.IntPredicate<E> predicateForFirst) Returns the first element matched bypredicateForFirst
if found or the last element if this stream is not empty Otherwise an emptyOptionalInt
will be returned.abstract <E extends Exception>
u.OptionalLongLongStream.findFirstOrLast
(Throwables.LongPredicate<E> predicateForFirst) Returns the first element matched bypredicateForFirst
if found or the last element if this stream is not empty Otherwise an emptyOptionalLong
will be returned.abstract <E extends Exception>
u.OptionalShortShortStream.findFirstOrLast
(Throwables.ShortPredicate<E> predicateForFirst) Returns the first element matched bypredicateForFirst
if found or the last element if this stream is not empty Otherwise an emptyOptionalShort
will be returned.abstract <E extends Exception>
u.Optional<T>Stream.findFirstOrLast
(Throwables.Predicate<? super T, E> predicateForFirst) Returns the first element matched bypredicateForFirst
if found or the last element if this stream is not empty Otherwise an emptyOptional<T>
will be returned.abstract <E extends Exception,
E2 extends Exception>
u.Optional<T>Stream.findFirstOrLast
(Throwables.Predicate<? super T, E> predicateForFirst, Throwables.Predicate<? super T, E2> predicateForLast) abstract <U,
E extends Exception, E2 extends Exception>
u.Optional<T>Stream.findFirstOrLast
(Function<? super T, U> preFunc, Throwables.BiPredicate<? super T, ? super U, E> predicateForFirst, Throwables.BiPredicate<? super T, ? super U, E2> predicateForLast)
This method only runs sequentially, even in parallel stream.abstract <U,
E extends Exception, E2 extends Exception>
u.Optional<T>Stream.findFirstOrLast
(U init, Throwables.BiPredicate<? super T, ? super U, E> predicateForFirst, Throwables.BiPredicate<? super T, ? super U, E2> predicateForLast)
This method only runs sequentially, even in parallel stream.abstract <E extends Exception>
u.OptionalByteByteStream.findLast
(Throwables.BytePredicate<E> predicate) Consider using:stream.reversed().findFirst(predicate)
for better performance if possible.abstract <E extends Exception>
u.OptionalCharCharStream.findLast
(Throwables.CharPredicate<E> predicate) Consider using:stream.reversed().findFirst(predicate)
for better performance if possible.abstract <E extends Exception>
u.OptionalDoubleDoubleStream.findLast
(Throwables.DoublePredicate<E> predicate) Consider using:stream.reversed().findFirst(predicate)
for better performance if possible.<E extends Exception>
u.Optional<Map.Entry<K,V>> EntryStream.findLast
(Throwables.BiPredicate<? super K, ? super V, E> predicate) <E extends Exception>
u.Optional<Map.Entry<K,V>> EntryStream.findLast
(Throwables.Predicate<? super Map.Entry<K, V>, E> predicate) abstract <E extends Exception>
u.OptionalFloatFloatStream.findLast
(Throwables.FloatPredicate<E> predicate) Consider using:stream.reversed().findFirst(predicate)
for better performance if possible.abstract <E extends Exception>
u.OptionalIntIntStream.findLast
(Throwables.IntPredicate<E> predicate) Consider using:stream.reversed().findFirst(predicate)
for better performance if possible.abstract <E extends Exception>
u.OptionalLongLongStream.findLast
(Throwables.LongPredicate<E> predicate) Consider using:stream.reversed().findFirst(predicate)
for better performance if possible.abstract <E extends Exception>
u.OptionalShortShortStream.findLast
(Throwables.ShortPredicate<E> predicate) Consider using:stream.reversed().findFirst(predicate)
for better performance if possible.abstract <E extends Exception>
u.Optional<T>Stream.findLast
(Throwables.Predicate<? super T, E> predicate) Returns the last element matched bypredicateForFirst
if found, Otherwise an emptyOptional<T>
will be returned.BaseStream.first()
Stream.flatGroupTo
(Throwables.Function<? super T, ? extends Collection<? extends K>, E> flatKeyMapper) Stream.flatGroupTo
(Throwables.Function<? super T, ? extends Collection<? extends K>, E> flatKeyMapper, Throwables.BiFunction<? super K, ? super T, ? extends V, E2> valueMapper) Stream.flatGroupTo
(Throwables.Function<? super T, ? extends Collection<? extends K>, E> flatKeyMapper, Throwables.BiFunction<? super K, ? super T, ? extends V, E2> valueMapper, Supplier<? extends M> mapFactory) Stream.flatGroupTo
(Throwables.Function<? super T, ? extends Collection<? extends K>, E> flatKeyMapper, Throwables.BiFunction<? super K, ? super T, ? extends V, E2> valueMapper, Collector<? super V, ?, D> downstream) Stream.flatGroupTo
(Throwables.Function<? super T, ? extends Collection<? extends K>, E> flatKeyMapper, Throwables.BiFunction<? super K, ? super T, ? extends V, E2> valueMapper, Collector<? super V, ?, D> downstream, Supplier<? extends M> mapFactory) Stream.flatGroupTo
(Throwables.Function<? super T, ? extends Collection<? extends K>, E> flatKeyMapper, Supplier<? extends M> mapFactory) Stream.flatGroupTo
(Throwables.Function<? super T, ? extends Collection<? extends K>, E> flatKeyMapper, Collector<? super T, ?, D> downstream) Stream.flatGroupTo
(Throwables.Function<? super T, ? extends Collection<? extends K>, E> flatKeyMapper, Collector<? super T, ?, D> downstream, Supplier<? extends M> mapFactory) abstract <E extends Exception>
u.Optional<T>Stream.foldLeft
(Throwables.BinaryOperator<T, E> accumulator) This method will always run sequentially, even in parallel stream.abstract <U,
E extends Exception>
UStream.foldLeft
(U identity, Throwables.BiFunction<U, ? super T, U, E> accumulator) This method will always run sequentially, even in parallel stream.abstract <E extends Exception>
u.Optional<T>Stream.foldRight
(Throwables.BinaryOperator<T, E> accumulator) This method will always run sequentially, even in parallel stream.abstract <U,
E extends Exception>
UStream.foldRight
(U identity, Throwables.BiFunction<U, ? super T, U, E> accumulator) This method will always run sequentially, even in parallel stream.abstract <E extends Exception>
voidByteStream.forEach
(Throwables.ByteConsumer<E> action) abstract <E extends Exception>
voidCharStream.forEach
(Throwables.CharConsumer<E> action) abstract <E extends Exception>
voidDoubleStream.forEach
(Throwables.DoubleConsumer<E> action) <E extends Exception>
voidEntryStream.forEach
(Throwables.BiConsumer<? super K, ? super V, E> action) <E extends Exception>
voidEntryStream.forEach
(Throwables.Consumer<? super Map.Entry<K, V>, E> action) abstract <E extends Exception>
voidFloatStream.forEach
(Throwables.FloatConsumer<E> action) abstract <E extends Exception>
voidIntStream.forEach
(Throwables.IntConsumer<E> action) abstract <E extends Exception>
voidLongStream.forEach
(Throwables.LongConsumer<E> action) abstract <E extends Exception>
voidShortStream.forEach
(Throwables.ShortConsumer<E> action) abstract <E extends Exception>
voidStream.forEach
(Throwables.Consumer<? super T, E> action) Stream.forEach
(Throwables.Consumer<? super T, E> action, Throwables.Runnable<E2> onComplete) Stream.forEach
(Throwables.Function<? super T, ? extends Iterable<? extends U>, E> flatMapper, Throwables.BiConsumer<? super T, ? super U, E2> action) Stream.forEach
(Throwables.Function<? super T, ? extends Iterable<T2>, E> flatMapper, Throwables.Function<? super T2, ? extends Iterable<T3>, E2> flatMapper2, Throwables.TriConsumer<? super T, ? super T2, ? super T3, E3> action) abstract <E extends Exception>
voidByteStream.forEachIndexed
(Throwables.IndexedByteConsumer<E> action) abstract <E extends Exception>
voidCharStream.forEachIndexed
(Throwables.IndexedCharConsumer<E> action) abstract <E extends Exception>
voidDoubleStream.forEachIndexed
(Throwables.IndexedDoubleConsumer<E> action) <E extends Exception>
voidEntryStream.forEachIndexed
(Throwables.IntObjConsumer<? super Map.Entry<K, V>, E> action) abstract <E extends Exception>
voidFloatStream.forEachIndexed
(Throwables.IndexedFloatConsumer<E> action) abstract <E extends Exception>
voidIntStream.forEachIndexed
(Throwables.IndexedIntConsumer<E> action) abstract <E extends Exception>
voidLongStream.forEachIndexed
(Throwables.IndexedLongConsumer<E> action) abstract <E extends Exception>
voidShortStream.forEachIndexed
(Throwables.IndexedShortConsumer<E> action) abstract <E extends Exception>
voidStream.forEachIndexed
(Throwables.IntObjConsumer<? super T, E> action) abstract <E extends Exception>
voidStream.forEachPair
(int increment, Throwables.BiConsumer<? super T, ? super T, E> action) abstract <E extends Exception>
voidStream.forEachPair
(Throwables.BiConsumer<? super T, ? super T, E> action) abstract <E extends Exception>
voidStream.forEachTriple
(int increment, Throwables.TriConsumer<? super T, ? super T, ? super T, E> action) abstract <E extends Exception>
voidStream.forEachTriple
(Throwables.TriConsumer<? super T, ? super T, ? super T, E> action) abstract <E extends Exception>
voidStream.forEachUntil
(MutableBoolean flagToBreak, Throwables.Consumer<? super T, E> action) Iterate and executeaction
untilflagToBreak
is set true.abstract <E extends Exception>
voidStream.forEachUntil
(Throwables.BiConsumer<? super T, MutableBoolean, E> action) Iterate and executeaction
until the flag is set true.ByteStream.groupTo
(Throwables.ByteFunction<? extends K, E> keyMapper, Collector<? super Byte, ?, D> downstream) ByteStream.groupTo
(Throwables.ByteFunction<? extends K, E> keyMapper, Collector<? super Byte, ?, D> downstream, Supplier<? extends M> mapFactory) CharStream.groupTo
(Throwables.CharFunction<? extends K, E> keyMapper, Collector<? super Character, ?, D> downstream) CharStream.groupTo
(Throwables.CharFunction<? extends K, E> keyMapper, Collector<? super Character, ?, D> downstream, Supplier<? extends M> mapFactory) DoubleStream.groupTo
(Throwables.DoubleFunction<? extends K, E> keyMapper, Collector<? super Double, ?, D> downstream) DoubleStream.groupTo
(Throwables.DoubleFunction<? extends K, E> keyMapper, Collector<? super Double, ?, D> downstream, Supplier<? extends M> mapFactory) EntryStream.groupTo()
FloatStream.groupTo
(Throwables.FloatFunction<? extends K, E> keyMapper, Collector<? super Float, ?, D> downstream) FloatStream.groupTo
(Throwables.FloatFunction<? extends K, E> keyMapper, Collector<? super Float, ?, D> downstream, Supplier<? extends M> mapFactory) IntStream.groupTo
(Throwables.IntFunction<? extends K, E> keyMapper, Collector<? super Integer, ?, D> downstream) IntStream.groupTo
(Throwables.IntFunction<? extends K, E> keyMapper, Collector<? super Integer, ?, D> downstream, Supplier<? extends M> mapFactory) LongStream.groupTo
(Throwables.LongFunction<? extends K, E> keyMapper, Collector<? super Long, ?, D> downstream) LongStream.groupTo
(Throwables.LongFunction<? extends K, E> keyMapper, Collector<? super Long, ?, D> downstream, Supplier<? extends M> mapFactory) ShortStream.groupTo
(Throwables.ShortFunction<? extends K, E> keyMapper, Collector<? super Short, ?, D> downstream) ShortStream.groupTo
(Throwables.ShortFunction<? extends K, E> keyMapper, Collector<? super Short, ?, D> downstream, Supplier<? extends M> mapFactory) Stream.groupTo
(Throwables.Function<? super T, ? extends K, E> keyMapper) Stream.groupTo
(Throwables.Function<? super T, ? extends K, E> keyMapper, Throwables.Function<? super T, ? extends V, E2> valueMapper) Stream.groupTo
(Throwables.Function<? super T, ? extends K, E> keyMapper, Throwables.Function<? super T, ? extends V, E2> valueMapper, Supplier<? extends M> mapFactory) Stream.groupTo
(Throwables.Function<? super T, ? extends K, E> keyMapper, Throwables.Function<? super T, ? extends V, E2> valueMapper, Collector<? super V, ?, D> downstream) Stream.groupTo
(Throwables.Function<? super T, ? extends K, E> keyMapper, Throwables.Function<? super T, ? extends V, E2> valueMapper, Collector<? super V, ?, D> downstream, Supplier<? extends M> mapFactory) Stream.groupTo
(Throwables.Function<? super T, ? extends K, E> keyMapper, Supplier<? extends M> mapFactory) Stream.groupTo
(Throwables.Function<? super T, ? extends K, E> keyMapper, Collector<? super T, ?, D> downstream) Stream.groupTo
(Throwables.Function<? super T, ? extends K, E> keyMapper, Collector<? super T, ?, D> downstream, Supplier<? extends M> mapFactory) <E extends Exception>
voidEntryStream.groupToThenAccept
(Throwables.Consumer<? super Map<K, List<V>>, E> consumer) <R,
E extends Exception>
REntryStream.groupToThenApply
(Throwables.Function<? super Map<K, List<V>>, ? extends R, E> func) abstract boolean
Stream.hasDuplicates()
BaseStream.join
(CharSequence delimiter) BaseStream.join
(CharSequence delimiter, CharSequence prefix, CharSequence suffix) EntryStream.join
(CharSequence delimiter, CharSequence keyValueDelimiter) EntryStream.join
(CharSequence delimiter, CharSequence keyValueDelimiter, CharSequence prefix, CharSequence suffix) abstract String
abstract u.OptionalByte
ByteStream.kthLargest
(int k) abstract u.OptionalChar
CharStream.kthLargest
(int k) abstract u.OptionalDouble
DoubleStream.kthLargest
(int k) abstract u.OptionalFloat
FloatStream.kthLargest
(int k) abstract u.OptionalInt
IntStream.kthLargest
(int k) abstract u.OptionalLong
LongStream.kthLargest
(int k) abstract u.OptionalShort
ShortStream.kthLargest
(int k) abstract u.Optional<T>
Stream.kthLargest
(int k, Comparator<? super T> comparator) BaseStream.last()
abstract u.OptionalByte
ByteStream.max()
abstract u.OptionalChar
CharStream.max()
Returns anOptionalChar
describing the maximum element of this stream, or an empty optional if this stream is empty.abstract u.OptionalDouble
DoubleStream.max()
EntryStream.max
(Comparator<? super Map.Entry<K, V>> comparator) abstract u.OptionalFloat
FloatStream.max()
abstract u.OptionalInt
IntStream.max()
abstract u.OptionalLong
LongStream.max()
abstract u.OptionalShort
ShortStream.max()
abstract u.Optional<T>
Stream.max
(Comparator<? super T> comparator) Stream.maxAll
(Comparator<? super T> comparator) Stream.maxBy
(Function<? super T, ? extends Comparable> keyMapper) EntryStream.maxByKey
(Comparator<? super K> keyComparator) EntryStream.maxByValue
(Comparator<? super V> valueComparator) abstract u.OptionalByte
ByteStream.min()
abstract u.OptionalChar
CharStream.min()
Returns anOptionalChar
describing the minimum element of this stream, or an empty optional if this stream is empty.abstract u.OptionalDouble
DoubleStream.min()
EntryStream.min
(Comparator<? super Map.Entry<K, V>> comparator) abstract u.OptionalFloat
FloatStream.min()
abstract u.OptionalInt
IntStream.min()
abstract u.OptionalLong
LongStream.min()
abstract u.OptionalShort
ShortStream.min()
abstract u.Optional<T>
Stream.min
(Comparator<? super T> comparator) Stream.minAll
(Comparator<? super T> comparator) Stream.minBy
(Function<? super T, ? extends Comparable> keyMapper) EntryStream.minByKey
(Comparator<? super K> keyComparator) EntryStream.minByValue
(Comparator<? super V> valueComparator) <E extends Exception>
booleanEntryStream.nMatch
(long atLeast, long atMost, Throwables.BiPredicate<? super K, ? super V, E> predicate) <E extends Exception>
booleanEntryStream.nMatch
(long atLeast, long atMost, Throwables.Predicate<? super Map.Entry<K, V>, E> predicate) abstract <E extends Exception>
booleanStream.nMatch
(long atLeast, long atMost, Throwables.Predicate<? super T, E> predicate) abstract <E extends Exception>
booleanByteStream.noneMatch
(Throwables.BytePredicate<E> predicate) abstract <E extends Exception>
booleanCharStream.noneMatch
(Throwables.CharPredicate<E> predicate) abstract <E extends Exception>
booleanDoubleStream.noneMatch
(Throwables.DoublePredicate<E> predicate) <E extends Exception>
booleanEntryStream.noneMatch
(Throwables.BiPredicate<? super K, ? super V, E> predicate) <E extends Exception>
booleanEntryStream.noneMatch
(Throwables.Predicate<? super Map.Entry<K, V>, E> predicate) abstract <E extends Exception>
booleanFloatStream.noneMatch
(Throwables.FloatPredicate<E> predicate) abstract <E extends Exception>
booleanIntStream.noneMatch
(Throwables.IntPredicate<E> predicate) abstract <E extends Exception>
booleanLongStream.noneMatch
(Throwables.LongPredicate<E> predicate) abstract <E extends Exception>
booleanShortStream.noneMatch
(Throwables.ShortPredicate<E> predicate) abstract <E extends Exception>
booleanStream.noneMatch
(Throwables.Predicate<? super T, E> predicate) BaseStream.onlyOne()
Stream.partitionTo
(Throwables.Predicate<? super T, E> predicate) Stream.partitionTo
(Throwables.Predicate<? super T, E> predicate, Collector<? super T, ?, D> downstream) abstract u.Optional<Map<Percentage,
T>> Stream.percentiles
(Comparator<? super T> comparator) abstract long
abstract long
Stream.persist
(File output, Throwables.BiConsumer<? super T, Writer, IOException> writeLine) abstract long
abstract long
Stream.persist
(File output, String header, String tail, Throwables.BiConsumer<? super T, Writer, IOException> writeLine) abstract long
abstract long
abstract long
abstract long
Stream.persist
(OutputStream output, Function<? super T, String> toLine) abstract long
Stream.persist
(Writer output, Throwables.BiConsumer<? super T, Writer, IOException> writeLine) abstract long
Stream.persist
(Writer output, String header, String tail, Throwables.BiConsumer<? super T, Writer, IOException> writeLine) abstract long
abstract long
abstract long
Stream.persist
(Connection conn, String insertSQL, int batchSize, long batchIntervalInMillis, Throwables.BiConsumer<? super T, ? super PreparedStatement, SQLException> stmtSetter) abstract long
Stream.persist
(PreparedStatement stmt, int batchSize, long batchIntervalInMillis, Throwables.BiConsumer<? super T, ? super PreparedStatement, SQLException> stmtSetter) abstract long
Stream.persist
(DataSource ds, String insertSQL, int batchSize, long batchIntervalInMillis, Throwables.BiConsumer<? super T, ? super PreparedStatement, SQLException> stmtSetter) abstract long
Stream.persistToCSV
(File output) Each line in the output file/Writer is an array of JSON String without root bracket.abstract long
Stream.persistToCSV
(File output, Collection<String> csvHeaders) Each line in the output file/Writer is an array of JSON String without root bracket.abstract long
Stream.persistToCSV
(OutputStream output) Each line in the output file/Writer is an array of JSON String without root bracket.abstract long
Stream.persistToCSV
(OutputStream output, Collection<String> csvHeaders) Each line in the output file/Writer is an array of JSON String without root bracket.abstract long
Stream.persistToCSV
(Writer output) Each line in the output file/Writer is an array of JSON String without root bracket.abstract long
Stream.persistToCSV
(Writer output, Collection<String> csvHeaders) Each line in the output file/Writer is an array of JSON String without root bracket.abstract long
Stream.persistToJSON
(File output) Each line in the output file/Writer is an array of JSON String without root bracket.abstract long
Stream.persistToJSON
(OutputStream output) Each line in the output file/Writer is an array of JSON String without root bracket.abstract long
Stream.persistToJSON
(Writer output) Each line in the output file/Writer is an array of JSON String without root bracket.void
BaseStream.println()
abstract byte
ByteStream.reduce
(byte identity, ByteBinaryOperator op) abstract u.OptionalByte
ByteStream.reduce
(ByteBinaryOperator op) abstract char
CharStream.reduce
(char identity, CharBinaryOperator op) abstract u.OptionalChar
CharStream.reduce
(CharBinaryOperator op) abstract double
DoubleStream.reduce
(double identity, DoubleBinaryOperator op) abstract u.OptionalDouble
DoubleStream.reduce
(DoubleBinaryOperator op) <E extends Exception>
u.Optional<Map.Entry<K,V>> EntryStream.reduce
(Throwables.BinaryOperator<Map.Entry<K, V>, E> accumulator) EntryStream.reduce
(Map.Entry<K, V> identity, Throwables.BinaryOperator<Map.Entry<K, V>, E> accumulator) abstract float
FloatStream.reduce
(float identity, FloatBinaryOperator op) abstract u.OptionalFloat
FloatStream.reduce
(FloatBinaryOperator op) abstract int
IntStream.reduce
(int identity, IntBinaryOperator op) abstract u.OptionalInt
IntStream.reduce
(IntBinaryOperator op) abstract long
LongStream.reduce
(long identity, LongBinaryOperator op) abstract u.OptionalLong
LongStream.reduce
(LongBinaryOperator op) abstract short
ShortStream.reduce
(short identity, ShortBinaryOperator op) abstract u.OptionalShort
ShortStream.reduce
(ShortBinaryOperator op) abstract <E extends Exception>
u.Optional<T>Stream.reduce
(Throwables.BinaryOperator<T, E> accumulator) Stream.reduce
(T identity, Throwables.BinaryOperator<T, E> accumulator) abstract <U,
E extends Exception>
UStream.reduce
(U identity, Throwables.BiFunction<U, ? super T, U, E> accumulator, Throwables.BinaryOperator<U, E> combiner) abstract <E extends Exception>
u.Optional<T>Stream.reduceUntil
(Throwables.BinaryOperator<T, E> accumulator, Throwables.BiPredicate<? super T, ? super T, E> conditionToBreak) abstract <E extends Exception>
u.Optional<T>Stream.reduceUntil
(Throwables.BinaryOperator<T, E> accumulator, Throwables.Predicate<? super T, E> conditionToBreak) Stream.reduceUntil
(T identity, Throwables.BinaryOperator<T, E> accumulator, Throwables.BiPredicate<? super T, ? super T, E> conditionToBreak) Stream.reduceUntil
(T identity, Throwables.BinaryOperator<T, E> accumulator, Throwables.Predicate<? super T, E> conditionToBreak) abstract <U,
E extends Exception>
UStream.reduceUntil
(U identity, Throwables.BiFunction<U, ? super T, U, E> accumulator, Throwables.BinaryOperator<U, E> combiner, Throwables.BiPredicate<? super U, ? super T, E> conditionToBreak) abstract <U,
E extends Exception>
UStream.reduceUntil
(U identity, Throwables.BiFunction<U, ? super T, U, E> accumulator, Throwables.BinaryOperator<U, E> combiner, Throwables.Predicate<? super U, E> conditionToBreak) abstract int
ByteStream.sum()
abstract int
CharStream.sum()
abstract double
DoubleStream.sum()
abstract double
FloatStream.sum()
abstract int
IntStream.sum()
abstract long
LongStream.sum()
abstract int
ShortStream.sum()
abstract double
Stream.sumDouble
(ToDoubleFunction<? super T> mapper) abstract long
Stream.sumInt
(ToIntFunction<? super T> mapper) abstract long
Stream.sumLong
(ToLongFunction<? super T> mapper) abstract ByteSummaryStatistics
ByteStream.summarize()
abstract CharSummaryStatistics
CharStream.summarize()
abstract DoubleSummaryStatistics
DoubleStream.summarize()
abstract FloatSummaryStatistics
FloatStream.summarize()
abstract IntSummaryStatistics
IntStream.summarize()
abstract LongSummaryStatistics
LongStream.summarize()
abstract ShortSummaryStatistics
ShortStream.summarize()
abstract Pair<ByteSummaryStatistics,
u.Optional<Map<Percentage, Byte>>> ByteStream.summarizeAndPercentiles()
abstract Pair<CharSummaryStatistics,
u.Optional<Map<Percentage, Character>>> CharStream.summarizeAndPercentiles()
abstract Pair<DoubleSummaryStatistics,
u.Optional<Map<Percentage, Double>>> DoubleStream.summarizeAndPercentiles()
abstract Pair<FloatSummaryStatistics,
u.Optional<Map<Percentage, Float>>> FloatStream.summarizeAndPercentiles()
abstract Pair<IntSummaryStatistics,
u.Optional<Map<Percentage, Integer>>> IntStream.summarizeAndPercentiles()
abstract Pair<LongSummaryStatistics,
u.Optional<Map<Percentage, Long>>> LongStream.summarizeAndPercentiles()
abstract Pair<ShortSummaryStatistics,
u.Optional<Map<Percentage, Short>>> ShortStream.summarizeAndPercentiles()
BaseStream.toArray()
abstract <A> A[]
Stream.toArray
(IntFunction<A[]> generator) abstract ByteList
ByteStream.toByteList()
abstract CharList
CharStream.toCharList()
<CC extends Collection<T>>
CCBaseStream.toCollection
(Supplier<? extends CC> supplier) abstract <CC extends Collection<T>,
E extends Exception>
voidStream.toCollectionThenAccept
(Supplier<? extends CC> supplier, Throwables.Consumer<? super CC, E> consumer) abstract <R,
CC extends Collection<T>, E extends Exception>
RStream.toCollectionThenApply
(Supplier<? extends CC> supplier, Throwables.Function<? super CC, ? extends R, E> func) abstract DataSet
Stream.toDataSet()
The first row will be used as column names if its type is array or list, or obtain the column names from first row if its type is bean or map.abstract DataSet
If the specifiedcolumnNames
is null or empty, the first row will be used as column names if its type is array or list, or obtain the column names from first row if its type is bean or map.abstract DoubleList
DoubleStream.toDoubleList()
abstract FloatList
FloatStream.toFloatList()
BaseStream.toImmutableList()
EntryStream.toImmutableMap()
EntryStream.toImmutableMap
(BinaryOperator<V> mergeFunction) <K,
V, E extends Exception, E2 extends Exception>
ImmutableMap<K,V> Stream.toImmutableMap
(Throwables.Function<? super T, ? extends K, E> keyMapper, Throwables.Function<? super T, ? extends V, E2> valueMapper) <K,
V, E extends Exception, E2 extends Exception>
ImmutableMap<K,V> Stream.toImmutableMap
(Throwables.Function<? super T, ? extends K, E> keyMapper, Throwables.Function<? super T, ? extends V, E2> valueMapper, BinaryOperator<V> mergeFunction) BaseStream.toImmutableSet()
abstract IntList
IntStream.toIntList()
BaseStream.toList()
abstract <E extends Exception>
voidStream.toListThenAccept
(Throwables.Consumer<? super List<T>, E> consumer) abstract <R,
E extends Exception>
RStream.toListThenApply
(Throwables.Function<? super List<T>, ? extends R, E> func) abstract LongList
LongStream.toLongList()
BaseStream.toLongMultiset()
BaseStream.toLongMultiset
(Supplier<? extends LongMultiset<T>> supplier) ByteStream.toMap
(Throwables.ByteFunction<? extends K, E> keyMapper, Throwables.ByteFunction<? extends V, E2> valueMapper) ByteStream.toMap
(Throwables.ByteFunction<? extends K, E> keyMapper, Throwables.ByteFunction<? extends V, E2> valueMapper, BinaryOperator<V> mergeFunction) ByteStream.toMap
(Throwables.ByteFunction<? extends K, E> keyMapper, Throwables.ByteFunction<? extends V, E2> valueMapper, BinaryOperator<V> mergeFunction, Supplier<? extends M> mapFactory) ByteStream.toMap
(Throwables.ByteFunction<? extends K, E> keyMapper, Throwables.ByteFunction<? extends V, E2> valueMapper, Supplier<? extends M> mapFactory) CharStream.toMap
(Throwables.CharFunction<? extends K, E> keyMapper, Throwables.CharFunction<? extends V, E2> valueMapper) CharStream.toMap
(Throwables.CharFunction<? extends K, E> keyMapper, Throwables.CharFunction<? extends V, E2> valueMapper, BinaryOperator<V> mergeFunction) CharStream.toMap
(Throwables.CharFunction<? extends K, E> keyMapper, Throwables.CharFunction<? extends V, E2> valueMapper, BinaryOperator<V> mergeFunction, Supplier<? extends M> mapFactory) CharStream.toMap
(Throwables.CharFunction<? extends K, E> keyMapper, Throwables.CharFunction<? extends V, E2> valueMapper, Supplier<? extends M> mapFactory) DoubleStream.toMap
(Throwables.DoubleFunction<? extends K, E> keyMapper, Throwables.DoubleFunction<? extends V, E2> valueMapper) DoubleStream.toMap
(Throwables.DoubleFunction<? extends K, E> keyMapper, Throwables.DoubleFunction<? extends V, E2> valueMapper, BinaryOperator<V> mergeFunction) DoubleStream.toMap
(Throwables.DoubleFunction<? extends K, E> keyMapper, Throwables.DoubleFunction<? extends V, E2> valueMapper, BinaryOperator<V> mergeFunction, Supplier<? extends M> mapFactory) DoubleStream.toMap
(Throwables.DoubleFunction<? extends K, E> keyMapper, Throwables.DoubleFunction<? extends V, E2> valueMapper, Supplier<? extends M> mapFactory) EntryStream.toMap
(BinaryOperator<V> mergeFunction) EntryStream.toMap
(BinaryOperator<V> mergeFunction, Supplier<? extends M> mapFactory) FloatStream.toMap
(Throwables.FloatFunction<? extends K, E> keyMapper, Throwables.FloatFunction<? extends V, E2> valueMapper) FloatStream.toMap
(Throwables.FloatFunction<? extends K, E> keyMapper, Throwables.FloatFunction<? extends V, E2> valueMapper, BinaryOperator<V> mergeFunction) FloatStream.toMap
(Throwables.FloatFunction<? extends K, E> keyMapper, Throwables.FloatFunction<? extends V, E2> valueMapper, BinaryOperator<V> mergeFunction, Supplier<? extends M> mapFactory) FloatStream.toMap
(Throwables.FloatFunction<? extends K, E> keyMapper, Throwables.FloatFunction<? extends V, E2> valueMapper, Supplier<? extends M> mapFactory) IntStream.toMap
(Throwables.IntFunction<? extends K, E> keyMapper, Throwables.IntFunction<? extends V, E2> valueMapper) IntStream.toMap
(Throwables.IntFunction<? extends K, E> keyMapper, Throwables.IntFunction<? extends V, E2> valueMapper, BinaryOperator<V> mergeFunction) IntStream.toMap
(Throwables.IntFunction<? extends K, E> keyMapper, Throwables.IntFunction<? extends V, E2> valueMapper, BinaryOperator<V> mergeFunction, Supplier<? extends M> mapFactory) IntStream.toMap
(Throwables.IntFunction<? extends K, E> keyMapper, Throwables.IntFunction<? extends V, E2> valueMapper, Supplier<? extends M> mapFactory) LongStream.toMap
(Throwables.LongFunction<? extends K, E> keyMapper, Throwables.LongFunction<? extends V, E2> valueMapper) LongStream.toMap
(Throwables.LongFunction<? extends K, E> keyMapper, Throwables.LongFunction<? extends V, E2> valueMapper, BinaryOperator<V> mergeFunction) LongStream.toMap
(Throwables.LongFunction<? extends K, E> keyMapper, Throwables.LongFunction<? extends V, E2> valueMapper, BinaryOperator<V> mergeFunction, Supplier<? extends M> mapFactory) LongStream.toMap
(Throwables.LongFunction<? extends K, E> keyMapper, Throwables.LongFunction<? extends V, E2> valueMapper, Supplier<? extends M> mapFactory) ShortStream.toMap
(Throwables.ShortFunction<? extends K, E> keyMapper, Throwables.ShortFunction<? extends V, E2> valueMapper) ShortStream.toMap
(Throwables.ShortFunction<? extends K, E> keyMapper, Throwables.ShortFunction<? extends V, E2> valueMapper, BinaryOperator<V> mergeFunction) ShortStream.toMap
(Throwables.ShortFunction<? extends K, E> keyMapper, Throwables.ShortFunction<? extends V, E2> valueMapper, BinaryOperator<V> mergeFunction, Supplier<? extends M> mapFactory) ShortStream.toMap
(Throwables.ShortFunction<? extends K, E> keyMapper, Throwables.ShortFunction<? extends V, E2> valueMapper, Supplier<? extends M> mapFactory) Stream.toMap
(Throwables.Function<? super T, ? extends K, E> keyMapper, Throwables.Function<? super T, ? extends V, E2> valueMapper) Stream.toMap
(Throwables.Function<? super T, ? extends K, E> keyMapper, Throwables.Function<? super T, ? extends V, E2> valueMapper, BinaryOperator<V> mergeFunction) Stream.toMap
(Throwables.Function<? super T, ? extends K, E> keyMapper, Throwables.Function<? super T, ? extends V, E2> valueMapper, BinaryOperator<V> mergeFunction, Supplier<? extends M> mapFactory) Stream.toMap
(Throwables.Function<? super T, ? extends K, E> keyMapper, Throwables.Function<? super T, ? extends V, E2> valueMapper, Supplier<? extends M> mapFactory) <E extends Exception>
voidEntryStream.toMapThenAccept
(Throwables.Consumer<? super Map<K, V>, E> consumer) <R,
E extends Exception>
REntryStream.toMapThenApply
(Throwables.Function<? super Map<K, V>, ? extends R, E> func) EntryStream.toMultimap()
<C extends Collection<V>,
M extends Multimap<K, V, C>>
MEntryStream.toMultimap
(Supplier<? extends M> mapFactory) abstract <K,
E extends Exception>
ListMultimap<K,T> Stream.toMultimap
(Throwables.Function<? super T, ? extends K, E> keyMapper) abstract <K,
V, E extends Exception, E2 extends Exception>
ListMultimap<K,V> Stream.toMultimap
(Throwables.Function<? super T, ? extends K, E> keyMapper, Throwables.Function<? super T, ? extends V, E2> valueMapper) abstract <K,
V, C extends Collection<V>, M extends Multimap<K, V, C>, E extends Exception, E2 extends Exception>
MStream.toMultimap
(Throwables.Function<? super T, ? extends K, E> keyMapper, Throwables.Function<? super T, ? extends V, E2> valueMapper, Supplier<? extends M> mapFactory) abstract <K,
V extends Collection<T>, M extends Multimap<K, T, V>, E extends Exception>
MStream.toMultimap
(Throwables.Function<? super T, ? extends K, E> keyMapper, Supplier<? extends M> mapFactory) BaseStream.toMultiset()
BaseStream.toMultiset
(Supplier<? extends Multiset<T>> supplier) BaseStream.toSet()
abstract <E extends Exception>
voidStream.toSetThenAccept
(Throwables.Consumer<? super Set<T>, E> consumer) abstract <R,
E extends Exception>
RStream.toSetThenApply
(Throwables.Function<? super Set<T>, ? extends R, E> func) abstract ShortList
ShortStream.toShortList()