Uses of Class
com.landawn.abacus.util.stream.CharStream
-
Uses of CharStream in com.landawn.abacus.util
-
Uses of CharStream in com.landawn.abacus.util.stream
Modifier and TypeMethodDescriptionabstract CharStream
CharStream.append
(char... a) abstract CharStream
CharStream.appendIfEmpty
(char... a) abstract CharStream
CharStream.collapse
(CharBiPredicate collapsible, CharBinaryOperator mergeFunction) Merge series of adjacent elements which satisfy the given predicate using the merger function and return a new stream.abstract CharStream
CharStream.collapse
(CharTriPredicate collapsible, CharBinaryOperator mergeFunction) static CharStream
CharStream.concat
(char[]... a) static CharStream
CharStream.concat
(CharIterator... a) static CharStream
CharStream.concat
(CharStream... a) static CharStream
CharStream.concat
(Collection<? extends CharStream> c) static CharStream
static CharStream
CharStream.concatIterators
(Collection<? extends CharIterator> c) static CharStream
CharStream.defer
(Supplier<CharStream> supplier) Lazy evaluation.static CharStream
CharStream.empty()
abstract CharStream
CharStream.flatmap
(CharFunction<char[]> mapper) abstract CharStream
CharStream.flatMap
(CharFunction<? extends CharStream> mapper) Returns a stream consisting of the results of replacing each element of this stream with the contents of a mapped stream produced by applying the provided mapping function to each element.abstract CharStream
Stream.flatmapToChar
(Function<? super T, char[]> mapper) abstract CharStream
IntStream.flatMapToChar
(IntFunction<? extends CharStream> mapper) abstract CharStream
Stream.flatMapToChar
(Function<? super T, ? extends CharStream> mapper) static CharStream
CharStream.flatten
(char[][] a) static CharStream
CharStream.flatten
(char[][][] a) static CharStream
CharStream.flatten
(char[][] a, boolean vertically) static CharStream
CharStream.flatten
(char[][] a, char valueForNone, boolean vertically) static CharStream
Lazy evaluation.static CharStream
CharStream.generate
(CharSupplier s) static CharStream
CharStream.iterate
(char init, CharPredicate hasNext, CharUnaryOperator f) static CharStream
CharStream.iterate
(char init, CharUnaryOperator f) static CharStream
CharStream.iterate
(char init, BooleanSupplier hasNext, CharUnaryOperator f) static CharStream
CharStream.iterate
(BooleanSupplier hasNext, CharSupplier next) abstract CharStream
CharStream.map
(CharUnaryOperator mapper) Returns a stream consisting of the results of applying the given function to the elements of this stream.abstract CharStream
CharStream.mapPartial
(CharFunction<u.OptionalChar> mapper) Note: copied from StreamEx: https://github.com/amaembo/streamexabstract CharStream
IntStream.mapToChar
(IntToCharFunction mapper) abstract CharStream
Stream.mapToChar
(ToCharFunction<? super T> mapper) static CharStream
CharStream.merge
(char[] a, char[] b, char[] c, CharBiFunction<MergeResult> nextSelector) static CharStream
CharStream.merge
(char[] a, char[] b, CharBiFunction<MergeResult> nextSelector) static CharStream
CharStream.merge
(CharIterator a, CharIterator b, CharIterator c, CharBiFunction<MergeResult> nextSelector) static CharStream
CharStream.merge
(CharIterator a, CharIterator b, CharBiFunction<MergeResult> nextSelector) CharStream.merge
(CharStream b, CharBiFunction<MergeResult> nextSelector) Deprecated.static CharStream
CharStream.merge
(CharStream a, CharStream b, CharBiFunction<MergeResult> nextSelector) static CharStream
CharStream.merge
(CharStream a, CharStream b, CharStream c, CharBiFunction<MergeResult> nextSelector) static CharStream
CharStream.merge
(Collection<? extends CharStream> c, CharBiFunction<MergeResult> nextSelector) abstract CharStream
CharStream.mergeWith
(CharStream b, CharBiFunction<MergeResult> nextSelector) static CharStream
CharStream.of
(char... a) static CharStream
CharStream.of
(char[] a, int startIndex, int endIndex) static CharStream
CharStream.of
(CharIterator iterator) static CharStream
static CharStream
static CharStream
static CharStream
static CharStream
static CharStream
CharStream.of
(CharSequence str) Takes the chars in the specified String as the elements of the Streamstatic CharStream
CharStream.of
(CharSequence str, int startIndex, int endIndex) Takes the chars in the specified String as the elements of the Streamstatic CharStream
CharStream.of
(CharBuffer buf) static CharStream
CharStream.of
(Collection<Character> c) static CharStream
CharStream.ofNullable
(Character e) static CharStream
CharStream.parallelMerge
(Collection<? extends CharStream> c, CharBiFunction<MergeResult> nextSelector) All the elements from each inputCollection/Iterator/Stream
will be merged into two queues by multiple threads.static CharStream
CharStream.parallelMerge
(Collection<? extends CharStream> c, CharBiFunction<MergeResult> nextSelector, int maxThreadNum) All the elements from each inputCollection/Iterator/Stream
will be merged into two queues by multiple threads.abstract CharStream
CharStream.prepend
(char... a) static CharStream
CharStream.random()
static CharStream
CharStream.random
(char[] candicates) static CharStream
CharStream.random
(char startInclusive, char endExclusive) static CharStream
CharStream.range
(char startInclusive, char endExclusive) static CharStream
CharStream.range
(char startInclusive, char endExclusive, int by) static CharStream
CharStream.rangeClosed
(char startInclusive, char endInclusive) static CharStream
CharStream.rangeClosed
(char startInclusive, char endInclusive, int by) abstract CharStream
CharStream.rangeMap
(CharBiPredicate sameRange, CharBinaryOperator mapper) Note: copied from StreamEx: https://github.com/amaembo/streamex
Returns a stream consisting of results of applying the given function to the ranges created from the source elements.CharStream.rateLimited
(RateLimiter rateLimiter) static CharStream
CharStream.repeat
(char element, long n) abstract CharStream
CharStream.scan
(char init, CharBinaryOperator accumulator) Returns aStream
produced by iterative application of a accumulation function to an initial elementinit
and next element of the current stream.abstract CharStream
CharStream.scan
(char init, CharBinaryOperator accumulator, boolean initIncluded) abstract CharStream
CharStream.scan
(CharBinaryOperator accumulator) Returns aStream
produced by iterative application of a accumulation function to an initial elementinit
and next element of the current stream.CharStream.skipUntil
(CharPredicate predicate) static CharStream
CharStream.zip
(char[] a, char[] b, char[] c, char valueForNoneA, char valueForNoneB, char valueForNoneC, CharTernaryOperator zipFunction) Zip together the "a", "b" and "c" iterators until all of them runs out of values.static CharStream
CharStream.zip
(char[] a, char[] b, char[] c, CharTernaryOperator zipFunction) Zip together the "a", "b" and "c" arrays until one of them runs out of values.static CharStream
CharStream.zip
(char[] a, char[] b, char valueForNoneA, char valueForNoneB, CharBinaryOperator zipFunction) Zip together the "a" and "b" iterators until all of them runs out of values.static CharStream
CharStream.zip
(char[] a, char[] b, CharBinaryOperator zipFunction) Zip together the "a" and "b" arrays until one of them runs out of values.static CharStream
CharStream.zip
(CharIterator a, CharIterator b, char valueForNoneA, char valueForNoneB, CharBinaryOperator zipFunction) Zip together the "a" and "b" iterators until all of them runs out of values.static CharStream
CharStream.zip
(CharIterator a, CharIterator b, CharIterator c, char valueForNoneA, char valueForNoneB, char valueForNoneC, CharTernaryOperator zipFunction) Zip together the "a", "b" and "c" iterators until all of them runs out of values.static CharStream
CharStream.zip
(CharIterator a, CharIterator b, CharIterator c, CharTernaryOperator zipFunction) Zip together the "a", "b" and "c" iterators until one of them runs out of values.static CharStream
CharStream.zip
(CharIterator a, CharIterator b, CharBinaryOperator zipFunction) Zip together the "a" and "b" iterators until one of them runs out of values.static CharStream
CharStream.zip
(CharStream a, CharStream b, char valueForNoneA, char valueForNoneB, CharBinaryOperator zipFunction) Zip together the "a" and "b" iterators until all of them runs out of values.static CharStream
CharStream.zip
(CharStream a, CharStream b, CharBinaryOperator zipFunction) Zip together the "a" and "b" streams until one of them runs out of values.static CharStream
CharStream.zip
(CharStream a, CharStream b, CharStream c, char valueForNoneA, char valueForNoneB, char valueForNoneC, CharTernaryOperator zipFunction) Zip together the "a", "b" and "c" iterators until all of them runs out of values.static CharStream
CharStream.zip
(CharStream a, CharStream b, CharStream c, CharTernaryOperator zipFunction) Zip together the "a", "b" and "c" streams until one of them runs out of values.static CharStream
CharStream.zip
(Collection<? extends CharStream> c, char[] valuesForNone, CharNFunction<Character> zipFunction) Zip together the iterators until all of them runs out of values.static CharStream
CharStream.zip
(Collection<? extends CharStream> c, CharNFunction<Character> zipFunction) Zip together the iterators until one of them runs out of values.abstract CharStream
CharStream.zipWith
(CharStream b, char valueForNoneA, char valueForNoneB, CharBinaryOperator zipFunction) abstract CharStream
CharStream.zipWith
(CharStream b, CharBinaryOperator zipFunction) abstract CharStream
CharStream.zipWith
(CharStream b, CharStream c, char valueForNoneA, char valueForNoneB, char valueForNoneC, CharTernaryOperator zipFunction) abstract CharStream
CharStream.zipWith
(CharStream b, CharStream c, CharTernaryOperator zipFunction) Modifier and TypeMethodDescriptionstatic CharStream
CharStream.concat
(CharStream... a) CharStream.merge
(CharStream b, CharBiFunction<MergeResult> nextSelector) Deprecated.replaced bymergeWith(CharStream, CharBiFunction)
static CharStream
CharStream.merge
(CharStream a, CharStream b, CharBiFunction<MergeResult> nextSelector) static CharStream
CharStream.merge
(CharStream a, CharStream b, CharStream c, CharBiFunction<MergeResult> nextSelector) abstract CharStream
CharStream.mergeWith
(CharStream b, CharBiFunction<MergeResult> nextSelector) static CharStream
CharStream.zip
(CharStream a, CharStream b, char valueForNoneA, char valueForNoneB, CharBinaryOperator zipFunction) Zip together the "a" and "b" iterators until all of them runs out of values.static CharStream
CharStream.zip
(CharStream a, CharStream b, CharBinaryOperator zipFunction) Zip together the "a" and "b" streams until one of them runs out of values.static CharStream
CharStream.zip
(CharStream a, CharStream b, CharStream c, char valueForNoneA, char valueForNoneB, char valueForNoneC, CharTernaryOperator zipFunction) Zip together the "a", "b" and "c" iterators until all of them runs out of values.static CharStream
CharStream.zip
(CharStream a, CharStream b, CharStream c, CharTernaryOperator zipFunction) Zip together the "a", "b" and "c" streams until one of them runs out of values.static <R> Stream<R>
Stream.zip
(CharStream a, CharStream b, char valueForNoneA, char valueForNoneB, CharBiFunction<R> zipFunction) Zip together the "a" and "b" iterators until all of them runs out of values.static <R> Stream<R>
Stream.zip
(CharStream a, CharStream b, CharBiFunction<R> zipFunction) Zip together the "a" and "b" streams until one of them runs out of values.static <R> Stream<R>
Stream.zip
(CharStream a, CharStream b, CharStream c, char valueForNoneA, char valueForNoneB, char valueForNoneC, CharTriFunction<R> zipFunction) Zip together the "a", "b" and "c" iterators until all of them runs out of values.static <R> Stream<R>
Stream.zip
(CharStream a, CharStream b, CharStream c, CharTriFunction<R> zipFunction) Zip together the "a", "b" and "c" streams until one of them runs out of values.abstract CharStream
CharStream.zipWith
(CharStream b, char valueForNoneA, char valueForNoneB, CharBinaryOperator zipFunction) abstract CharStream
CharStream.zipWith
(CharStream b, CharBinaryOperator zipFunction) abstract CharStream
CharStream.zipWith
(CharStream b, CharStream c, char valueForNoneA, char valueForNoneB, char valueForNoneC, CharTernaryOperator zipFunction) abstract CharStream
CharStream.zipWith
(CharStream b, CharStream c, CharTernaryOperator zipFunction) Modifier and TypeMethodDescriptionstatic CharStream
CharStream.concat
(Collection<? extends CharStream> c) static CharStream
CharStream.defer
(Supplier<CharStream> supplier) Lazy evaluation.abstract CharStream
CharStream.flatMap
(CharFunction<? extends CharStream> mapper) Returns a stream consisting of the results of replacing each element of this stream with the contents of a mapped stream produced by applying the provided mapping function to each element.abstract CharStream
IntStream.flatMapToChar
(IntFunction<? extends CharStream> mapper) abstract CharStream
Stream.flatMapToChar
(Function<? super T, ? extends CharStream> mapper) static CharStream
CharStream.merge
(Collection<? extends CharStream> c, CharBiFunction<MergeResult> nextSelector) static CharStream
CharStream.parallelMerge
(Collection<? extends CharStream> c, CharBiFunction<MergeResult> nextSelector) All the elements from each inputCollection/Iterator/Stream
will be merged into two queues by multiple threads.static CharStream
CharStream.parallelMerge
(Collection<? extends CharStream> c, CharBiFunction<MergeResult> nextSelector, int maxThreadNum) All the elements from each inputCollection/Iterator/Stream
will be merged into two queues by multiple threads.static CharStream
CharStream.zip
(Collection<? extends CharStream> c, char[] valuesForNone, CharNFunction<Character> zipFunction) Zip together the iterators until all of them runs out of values.static CharStream
CharStream.zip
(Collection<? extends CharStream> c, CharNFunction<Character> zipFunction) Zip together the iterators until one of them runs out of values.static <R> Stream<R>
Stream.zip
(Collection<? extends CharStream> c, char[] valuesForNone, CharNFunction<R> zipFunction) Zip together the iterators until all of them runs out of values.static <R> Stream<R>
Stream.zip
(Collection<? extends CharStream> c, CharNFunction<R> zipFunction) Zip together the iterators until one of them runs out of values.
mergeWith(CharStream, CharBiFunction)