Skip navigation links
A B C D E F G H I J L M N O P Q R S T U W X Z 

A

allMatch(Predicate<? super T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
True if predicate matches all elements when Monad converted to a Stream
allMatch(Predicate<? super T>) - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
Perform an asynchronous All Match operation
anyM() - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
anyMatch(Predicate<? super T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
True if a single element matches when Monad converted to a Stream
anyMatch(Predicate<? super T>) - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
Perform an asynchronous Any Match operation
append(T...) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Append values to the end of this SequenceM
append(Stream<T>, T...) - Static method in class com.aol.cyclops.streams.StreamUtils
Append values to the end of this SequenceM
appendStream(Stream<T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Append Stream to this SequenceM
appendStream(Stream<T>, Stream<T>) - Static method in class com.aol.cyclops.streams.StreamUtils
Append Stream to this SequenceM
averageDouble(ToDoubleFunction<T>) - Method in interface com.aol.cyclops.streams.future.DoubleOperatorsMixin
Perform an asynchronous average operation
averageInt(ToIntFunction<T>) - Method in interface com.aol.cyclops.streams.future.IntOperatorsMixin
Perform an asynchronous average operation
averageLong(ToLongFunction<T>) - Method in interface com.aol.cyclops.streams.future.LongOperatorsMixin
Perform an asynchronous average operation

B

batchBySize(int) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
batchBySize(int, Supplier<C>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
batchBySize(int) - Method in class com.aol.cyclops.streams.operators.BatchBySizeOperator
 
batchBySize(Stream<T>, int) - Static method in class com.aol.cyclops.streams.StreamUtils
Group elements in a Monad into a Stream
batchBySize(Stream<T>, int, Supplier<C>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
batchBySizeAndTime(int, long, TimeUnit) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
batchBySizeAndTime(int, long, TimeUnit, Supplier<C>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
batchBySizeAndTime(int, long, TimeUnit) - Method in class com.aol.cyclops.streams.operators.BatchByTimeAndSizeOperator
 
batchBySizeAndTime(Stream<T>, int, long, TimeUnit) - Static method in class com.aol.cyclops.streams.StreamUtils
 
batchBySizeAndTime(Stream<T>, int, long, TimeUnit, Supplier<C>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
BatchBySizeOperator<T,C extends java.util.Collection<T>> - Class in com.aol.cyclops.streams.operators
 
BatchBySizeOperator(Stream<T>) - Constructor for class com.aol.cyclops.streams.operators.BatchBySizeOperator
 
BatchBySizeOperator(Stream<T>, Supplier<C>) - Constructor for class com.aol.cyclops.streams.operators.BatchBySizeOperator
 
batchByTime(long, TimeUnit) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
batchByTime(long, TimeUnit, Supplier<C>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
batchByTime(long, TimeUnit) - Method in class com.aol.cyclops.streams.operators.BatchByTimeOperator
 
batchByTime(Stream<T>, long, TimeUnit) - Static method in class com.aol.cyclops.streams.StreamUtils
 
batchByTime(Stream<T>, long, TimeUnit, Supplier<C>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
BatchByTimeAndSizeOperator<T,C extends java.util.Collection<? super T>> - Class in com.aol.cyclops.streams.operators
 
BatchByTimeAndSizeOperator(Stream<T>) - Constructor for class com.aol.cyclops.streams.operators.BatchByTimeAndSizeOperator
 
BatchByTimeAndSizeOperator(Stream<T>, Supplier<C>) - Constructor for class com.aol.cyclops.streams.operators.BatchByTimeAndSizeOperator
 
BatchByTimeOperator<T,C extends java.util.Collection<T>> - Class in com.aol.cyclops.streams.operators
 
BatchByTimeOperator(Stream<T>) - Constructor for class com.aol.cyclops.streams.operators.BatchByTimeOperator
 
BatchByTimeOperator(Stream<T>, Supplier<C>) - Constructor for class com.aol.cyclops.streams.operators.BatchByTimeOperator
 
batchUntil(Predicate<? super T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
batchUntil(Predicate<? super T>, Supplier<C>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
batchUntil(Stream<T>, Predicate<? super T>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
batchWhile(Predicate<? super T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
batchWhile(Predicate<? super T>, Supplier<C>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
batchWhile(Predicate<? super T>) - Method in class com.aol.cyclops.streams.operators.BatchWhileOperator
 
batchWhile(Stream<T>, Predicate<? super T>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
batchWhile(Stream<T>, Predicate<? super T>, Supplier<C>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
BatchWhileOperator<T,C extends java.util.Collection<? super T>> - Class in com.aol.cyclops.streams.operators
 
BatchWhileOperator(Stream<T>) - Constructor for class com.aol.cyclops.streams.operators.BatchWhileOperator
 
BatchWhileOperator(Stream<T>, Supplier<C>) - Constructor for class com.aol.cyclops.streams.operators.BatchWhileOperator
 

C

cast(Class<U>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Cast all elements in a stream to a given type, possibly throwing a ClassCastException.
cast(Stream<T>, Class<U>) - Static method in class com.aol.cyclops.streams.StreamUtils
Cast all elements in a stream to a given type, possibly throwing a ClassCastException.
characteristics() - Method in class com.aol.cyclops.streams.spliterators.ClosingSpliterator
 
close() - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
ClosingSpliterator<T> - Class in com.aol.cyclops.streams.spliterators
 
ClosingSpliterator(long, Queue, AtomicBoolean) - Constructor for class com.aol.cyclops.streams.spliterators.ClosingSpliterator
 
collect(Collector<? super T, A, R>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Mutable reduction / collection over this Monad converted to a Stream
collect(Supplier<R>, BiConsumer<R, ? super T>, BiConsumer<R, R>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
collect(Stream<Collector>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Apply multiple collectors Simulataneously to this Monad
collect(Collector<? super T, A, R>) - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
Asynchronously perform a Stream collection
collect(Supplier<R>, BiConsumer<R, ? super T>, BiConsumer<R, R>) - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
Asynchronously perform a Stream collection
collect(Streamable<Collector>) - Method in class com.aol.cyclops.streams.operators.MultiCollectOperator
 
collect(Stream<T>, Stream<Collector>) - Static method in class com.aol.cyclops.streams.StreamUtils
Apply multiple Collectors, simultaneously to a Stream
collect(Stream<T>, Iterable<Collector>) - Static method in class com.aol.cyclops.streams.StreamUtils
Apply multiple Collectors, simultaneously to a Stream
collect(Stream<T>, Streamable<Collector>) - Static method in class com.aol.cyclops.streams.StreamUtils
Apply multiple Collectors, simultaneously to a Stream
collectIterable(Iterable<Collector>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Apply multiple Collectors, simultaneously to a Stream
collectStream(Stream<Collector>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
com.aol.cyclops.sequence - package com.aol.cyclops.sequence
 
com.aol.cyclops.streams - package com.aol.cyclops.streams
 
com.aol.cyclops.streams.future - package com.aol.cyclops.streams.future
 
com.aol.cyclops.streams.operators - package com.aol.cyclops.streams.operators
 
com.aol.cyclops.streams.spliterators - package com.aol.cyclops.streams.spliterators
 
completableFutureToStream(CompletableFuture<T>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
concat(Stream<T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
concat(T) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
concat(T...) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
concat(Object, Stream<U>) - Static method in class com.aol.cyclops.streams.StreamUtils
Concat an Object and a Stream If the Object is a Stream, Streamable or Iterable will be converted (or left) in Stream form and concatonated Otherwise a new Stream.of(o) is created
connect() - Method in class com.aol.cyclops.streams.HotStreamImpl
 
connect(Queue<T>) - Method in class com.aol.cyclops.streams.HotStreamImpl
 
connectTo(Queue<T>, Function<SequenceM<T>, R>) - Method in class com.aol.cyclops.streams.HotStreamImpl
 
count() - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
count() - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
Asynchronously perform a Stream count
crossJoin(Stream<U>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
cycle(int) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Convert to a Stream with the values repeated specified times
cycle() - Method in class com.aol.cyclops.sequence.SequenceMImpl
Convert to a Stream with the values infinitely cycled
cycle(Monoid<T>, int) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Convert to a Stream with the result of a reduction operation repeated specified times
cycle(Class<R>, int) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Convert to a Stream, repeating the resulting structure specified times and lifting all values to the specified Monad type
cycle(Stream<T>, Monoid<T>, int) - Static method in class com.aol.cyclops.streams.StreamUtils
Convert to a Stream with the result of a reduction operation repeated specified times
cycle(Stream<U>) - Static method in class com.aol.cyclops.streams.StreamUtils
Create a new Stream that infiniteable cycles the provided Stream
cycle(Streamable<U>) - Static method in class com.aol.cyclops.streams.StreamUtils
Create a Stream that infiniteable cycles the provided Streamable
cycle(int, Streamable<U>) - Static method in class com.aol.cyclops.streams.StreamUtils
Create a Stream that finitely cycles the provided Streamable, provided number of times
cycleUntil(Predicate<? super T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Repeat in a Stream until specified predicate holds
cycleUntil(Stream<T>, Predicate<? super T>) - Static method in class com.aol.cyclops.streams.StreamUtils
Repeat in a Stream until specified predicate holds
cycleWhile(Predicate<? super T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Repeat in a Stream while specified predicate holds
cycleWhile(Stream<T>, Predicate<? super T>) - Static method in class com.aol.cyclops.streams.StreamUtils
Repeat in a Stream while specified predicate holds

D

debounce(long, TimeUnit) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
debounce(long, TimeUnit) - Method in class com.aol.cyclops.streams.operators.DebounceOperator
 
debounce(Stream<T>, long, TimeUnit) - Static method in class com.aol.cyclops.streams.StreamUtils
 
DebounceOperator<T> - Class in com.aol.cyclops.streams.operators
 
DebounceOperator() - Constructor for class com.aol.cyclops.streams.operators.DebounceOperator
 
deleteBetween(int, int) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Delete elements between given indexes in a Stream
deleteBetween(Stream<T>, int, int) - Static method in class com.aol.cyclops.streams.StreamUtils
Delete elements between given indexes in a Stream
distinct() - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
distinct(Function<? super T, ? extends U>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
DoubleOperatorsMixin<T> - Interface in com.aol.cyclops.streams.future
 
duplicate(Stream<T>) - Static method in class com.aol.cyclops.streams.StreamUtils
Duplicate a Stream, buffers intermediate values, leaders may change positions so a limit can be safely applied to the leading stream.
duplicateSequence() - Method in class com.aol.cyclops.sequence.SequenceMImpl
Duplicate a Stream, buffers intermediate values, leaders may change positions so a limit can be safely applied to the leading stream.

E

endsWith(Iterable<T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
endsWith(Stream<T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
endsWith(Stream<T>, Iterable<T>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
estimateSize() - Method in class com.aol.cyclops.streams.spliterators.ClosingSpliterator
 

F

filter(Predicate<? super T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
findAny() - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
findAny() - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
Perform an asynchronous findAny operation
findFirst() - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
findFirst() - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
Perform an asynchronous findAny operation
firstValue() - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
firstValue() - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
Perform an asynchronous findAny operation
firstValue(Stream<T>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
fixedDelay(long, TimeUnit) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
fixedDelay(Stream<T>, long, TimeUnit) - Static method in class com.aol.cyclops.streams.StreamUtils
 
flatMap(Function<? super T, ? extends Stream<? extends R>>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
flatMap operation
flatMapAnyM(Function<? super T, AnyM<? extends R>>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Allows flatMap return type to be any Monad type
flatMapAnyM(Stream<T>, Function<? super T, AnyM<? extends R>>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
flatMapBufferedReader(Function<? super T, BufferedReader>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Perform a flatMap operation where the result will be a flattened stream of Strings from the text loaded from the supplied BufferedReaders
flatMapBufferedReader(Stream<T>, Function<? super T, BufferedReader>) - Static method in class com.aol.cyclops.streams.StreamUtils
Perform a flatMap operation where the result will be a flattened stream of Strings from the text loaded from the supplied BufferedReaders
flatMapCharSequence(Function<? super T, CharSequence>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Perform a flatMap operation where the result will be a flattened stream of Characters from the CharSequence returned by the supplied function.
flatMapCharSequence(Stream<T>, Function<? super T, CharSequence>) - Static method in class com.aol.cyclops.streams.StreamUtils
Perform a flatMap operation where the result will be a flattened stream of Characters from the CharSequence returned by the supplied function.
flatMapCollection(Function<? super T, Collection<? extends R>>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Convenience method & performance optimisation flatMapping to a Stream will result in the Stream being converted to a List, if the host Monad type is not a Stream.
flatMapCollection(Stream<T>, Function<? super T, Collection<? extends R>>) - Static method in class com.aol.cyclops.streams.StreamUtils
flatMap operation that allows a Collection to be returned
flatMapCompletableFuture(Function<? super T, CompletableFuture<? extends R>>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
flatMap to CompletableFuture - will block until Future complete, although (for non-blocking behaviour use AnyM wrapping CompletableFuture and flatMap to Stream there)
flatMapCompletableFuture(Stream<T>, Function<? super T, CompletableFuture<? extends R>>) - Static method in class com.aol.cyclops.streams.StreamUtils
assertThat(StreamUtils.flatMapCompletableFuture(Stream.of(1,2,3), i->CompletableFuture.completedFuture(i+2)) .collect(Collectors.toList()), equalTo(Arrays.asList(3,4,5)));
flatMapFile(Function<? super T, File>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Perform a flatMap operation where the result will be a flattened stream of Strings from the text loaded from the supplied files.
flatMapFile(Stream<T>, Function<? super T, File>) - Static method in class com.aol.cyclops.streams.StreamUtils
Perform a flatMap operation where the result will be a flattened stream of Strings from the text loaded from the supplied files.
flatMapOptional(Function<? super T, Optional<? extends R>>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
flatMap to optional - will result in null values being removed
flatMapOptional(Stream<T>, Function<? super T, Optional<? extends R>>) - Static method in class com.aol.cyclops.streams.StreamUtils
cross type flatMap, removes null entries
flatMapSequenceM(Stream<T>, Function<? super T, SequenceM<? extends R>>) - Static method in class com.aol.cyclops.streams.StreamUtils
flatMap operation
flatMapStream(Function<? super T, BaseStream<? extends R, ?>>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
flatMap operation
flatMapStream(Stream<T>, Function<? super T, BaseStream<? extends R, ?>>) - Static method in class com.aol.cyclops.streams.StreamUtils
assertThat(StreamUtils.flatMapStream(Stream.of(1,2,3), i->Stream.of(i)).collect(Collectors.toList()), equalTo(Arrays.asList(1,2,3)));
flatMapToDouble(Function<? super T, ? extends DoubleStream>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
flatMapToInt(Function<? super T, ? extends IntStream>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
flatMapToLong(Function<? super T, ? extends LongStream>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
flatMapURL(Function<? super T, URL>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Perform a flatMap operation where the result will be a flattened stream of Strings from the text loaded from the supplied URLs
flatMapURL(Stream<T>, Function<? super T, URL>) - Static method in class com.aol.cyclops.streams.StreamUtils
Perform a flatMap operation where the result will be a flattened stream of Strings from the text loaded from the supplied URLs
flatten() - Method in class com.aol.cyclops.sequence.SequenceMImpl
join / flatten one level of a nested hierarchy
flatten(Stream<T>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
foldLeft(Monoid<T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
foldLeft(T, BinaryOperator<T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
foldLeft : immutable reduction from left to right
foldLeft(U, BiFunction<U, ? super T, U>) - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
Perform an asynchronous foldLeft operation
foldLeft(Stream<T>, Monoid<T>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
foldLeftMapToType(Monoid<T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Attempt to map this Monad to the same type as the supplied Monoid (using mapToType on the monoid interface) Then use Monoid to reduce values
foldLeftMapToType(Stream<T>, Monoid<T>) - Static method in class com.aol.cyclops.streams.StreamUtils
Attempt to map this Monad to the same type as the supplied Monoid (using mapToType on the monoid interface) Then use Monoid to reduce values
foldRight(Monoid<T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
foldRight(U, BiFunction<? super T, U, U>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Immutable reduction from right to left
foldRight(T, BinaryOperator<T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
foldRight(U, BiFunction<? super T, U, U>) - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
Perform an asynchronous foldRight operation
foldRight(Stream<T>, Monoid<T>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
foldRightMapToType(Monoid<T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Attempt to map this Monad to the same type as the supplied Monoid (using mapToType on the monoid interface) Then use Monoid to reduce values
foldRightMapToType(Stream<T>, Monoid<T>) - Static method in class com.aol.cyclops.streams.StreamUtils
Attempt to map this Monad to the same type as the supplied Monoid (using mapToType on the monoid interface) Then use Monoid to reduce values
forEach(Consumer<? super T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
forEach(Consumer<T>) - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
 
forEach2(Function<? super T, ? extends BaseStream<R1, ?>>, Function<? super T, Function<? super R1, ? extends R>>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Perform a two level nested internal iteration over this Stream and the supplied stream
forEach2(Function<? super T, ? extends BaseStream<R1, ?>>, Function<? super T, Function<? super R1, Boolean>>, Function<? super T, Function<? super R1, ? extends R>>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Perform a two level nested internal iteration over this Stream and the supplied stream
forEach3(Function<? super T, ? extends BaseStream<R1, ?>>, Function<? super T, Function<? super R1, ? extends BaseStream<R2, ?>>>, Function<? super T, Function<? super R1, Function<? super R2, ? extends R>>>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Perform a three level nested internal iteration over this Stream and the supplied streams
forEach3(Function<? super T, ? extends BaseStream<R1, ?>>, Function<? super T, Function<? super R1, ? extends BaseStream<R2, ?>>>, Function<? super T, Function<? super R1, Function<? super R2, Boolean>>>, Function<? super T, Function<? super R1, Function<? super R2, ? extends R>>>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Perform a three level nested internal iteration over this Stream and the supplied streams
forEachEvent(Consumer<? super T>, Consumer<? super Throwable>, Runnable) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
forEachEvent(Consumer<? super T>, Consumer<? super Throwable>, Runnable) - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
 
forEachEvent(Stream<T>, Consumer<? super T>, Consumer<? super Throwable>, Runnable) - Static method in class com.aol.cyclops.streams.FutureStreamUtils
Perform a forEach operation over the Stream capturing any elements and errors in the supplied consumers when the entire Stream has been processed an onComplete event will be recieved.
forEachEvent(Stream<T>, Consumer<? super T>, Consumer<? super Throwable>, Runnable) - Static method in class com.aol.cyclops.streams.StreamUtils
Perform a forEach operation over the Stream capturing any elements and errors in the supplied consumers when the entire Stream has been processed an onComplete event will be recieved.
forEachOrdered(Consumer<? super T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
forEachWithError(Consumer<? super T>, Consumer<? super Throwable>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
forEachWithError(Consumer<? super T>, Consumer<? super Throwable>) - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
 
forEachWithError(Stream<T>, Consumer<? super T>, Consumer<? super Throwable>) - Static method in class com.aol.cyclops.streams.FutureStreamUtils
Perform a forEach operation over the Stream capturing any elements and errors in the supplied consumers,
forEachWithError(Stream<T>, Consumer<? super T>, Consumer<? super Throwable>) - Static method in class com.aol.cyclops.streams.StreamUtils
Perform a forEach operation over the Stream capturing any elements and errors in the supplied consumers,
forEachX(long, Consumer<? super T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
forEachX(long, Consumer<? super T>) - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
 
forEachX(Stream<T>, long, Consumer<? super T>) - Static method in class com.aol.cyclops.streams.FutureStreamUtils
Perform a forEach operation over the Stream, without closing it, consuming only the specified number of elements from the Stream, at this time.
forEachX(Stream<T>, long, Consumer<? super T>) - Static method in class com.aol.cyclops.streams.StreamUtils
Perform a forEach operation over the Stream, without closing it, consuming only the specified number of elements from the Stream, at this time.
forEachXEvents(long, Consumer<? super T>, Consumer<? super Throwable>, Runnable) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
forEachXEvents(long, Consumer<? super T>, Consumer<? super Throwable>, Runnable) - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
 
forEachXEvents(Stream<T>, long, Consumer<? super T>, Consumer<? super Throwable>, Runnable) - Static method in class com.aol.cyclops.streams.FutureStreamUtils
Perform a forEach operation over the Stream without closing it, capturing any elements and errors in the supplied consumers, but only consuming the specified number of elements from the Stream, at this time.
forEachXEvents(Stream<T>, long, Consumer<? super T>, Consumer<? super Throwable>, Runnable) - Static method in class com.aol.cyclops.streams.StreamUtils
Perform a forEach operation over the Stream without closing it, capturing any elements and errors in the supplied consumers, but only consuming the specified number of elements from the Stream, at this time.
forEachXWithError(long, Consumer<? super T>, Consumer<? super Throwable>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
forEachXWithError(long, Consumer<? super T>, Consumer<? super Throwable>) - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
 
forEachXWithError(Stream<T>, long, Consumer<? super T>, Consumer<? super Throwable>) - Static method in class com.aol.cyclops.streams.FutureStreamUtils
Perform a forEach operation over the Stream without closing it, capturing any elements and errors in the supplied consumers, but only consuming the specified number of elements from the Stream, at this time.
forEachXWithError(Stream<T>, long, Consumer<? super T>, Consumer<? super Throwable>) - Static method in class com.aol.cyclops.streams.StreamUtils
Perform a forEach operation over the Stream without closing it, capturing any elements and errors in the supplied consumers, but only consuming the specified number of elements from the Stream, at this time.
futureOperations(Executor) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
futureOperations(Stream<T>, Executor) - Static method in class com.aol.cyclops.streams.StreamUtils
 
FutureOperationsImpl<T> - Class in com.aol.cyclops.streams.future
 
FutureOperationsImpl() - Constructor for class com.aol.cyclops.streams.future.FutureOperationsImpl
 
FutureStreamUtils - Class in com.aol.cyclops.streams
 
FutureStreamUtils() - Constructor for class com.aol.cyclops.streams.FutureStreamUtils
 

G

getExec() - Method in interface com.aol.cyclops.streams.HasExec
 
getStream() - Method in interface com.aol.cyclops.streams.HasStream
 
groupBy(Function<? super T, ? extends K>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Use classifier function to group elements in this Sequence into a Map
groupBy(Function<? super T, ? extends K>) - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
Perform an asyncrhonous groupBy operation
groupBy(Function<? super T, ? extends K>, Collector<? super T, A, D>) - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
Perform an asyncrhonous groupBy operation
groupBy(Function<? super T, ? extends K>, Supplier<M>, Collector<? super T, A, D>) - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
Perform an asyncrhonous groupBy operation
grouped(int) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Group elements in a Stream

H

HasExec - Interface in com.aol.cyclops.streams
 
HasStream<T> - Interface in com.aol.cyclops.streams
 
headAndTail() - Method in class com.aol.cyclops.sequence.SequenceMImpl
extract head and tail together, where head is expected to be present
headAndTail(Stream<T>) - Static method in class com.aol.cyclops.streams.StreamUtils
extract head and tail together
headAndTailOptional() - Method in class com.aol.cyclops.sequence.SequenceMImpl
extract head and tail together, where no head or tail may be present
headAndTailOptional(Stream<T>) - Static method in class com.aol.cyclops.streams.StreamUtils
Stream<String> helloWorld = Stream.of(); Optional<HeadAndTail<String>> headAndTail = StreamUtils.headAndTailOptional(helloWorld); assertTrue(!headAndTail.isPresent());
hotStream(Executor) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
hotStream(Stream<T>, Executor) - Static method in class com.aol.cyclops.streams.StreamUtils
 
HotStreamImpl<T> - Class in com.aol.cyclops.streams
 
HotStreamImpl(Stream<T>) - Constructor for class com.aol.cyclops.streams.HotStreamImpl
 

I

init(Executor) - Method in class com.aol.cyclops.streams.HotStreamImpl
 
innerJoin(Stream<U>, BiPredicate<T, U>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
insertAt(int, T...) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Insert data into a stream at given position
insertAt(Stream<T>, int, T...) - Static method in class com.aol.cyclops.streams.StreamUtils
Insert data into a stream at given position
insertStreamAt(int, Stream<T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Insert a Stream into the middle of this stream at the specified position
insertStreamAt(Stream<T>, int, Stream<T>) - Static method in class com.aol.cyclops.streams.StreamUtils
Insert a Stream into the middle of this stream at the specified position
intersperse(T) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Returns a stream with a given value interspersed between any two values of this stream.
intersperse(Stream<T>, T) - Static method in class com.aol.cyclops.streams.StreamUtils
Returns a stream with a given value interspersed between any two values of this stream.
IntOperatorsMixin<T> - Interface in com.aol.cyclops.streams.future
 
isParallel() - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
iterator() - Method in class com.aol.cyclops.sequence.SequenceMImpl
 

J

jitter(long) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
jitter(Stream<T>, long) - Static method in class com.aol.cyclops.streams.StreamUtils
 
join() - Method in class com.aol.cyclops.sequence.SequenceMImpl
assertEquals("123".length(),of(1, 2, 3).join().length());
join(String) - Method in class com.aol.cyclops.sequence.SequenceMImpl
assertEquals("1, 2, 3".length(), of(1, 2, 3).join(", ").length());
join(String, String, String) - Method in class com.aol.cyclops.sequence.SequenceMImpl
assertEquals("^1|2|3$".length(), of(1, 2, 3).join("|", "^", "$").length());
join(CharSequence) - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
 
join() - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
Perform an asynchronous join operation
join(CharSequence, CharSequence, CharSequence) - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
Perform an asynchronous join operation
join(Stream<T>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
join(Stream<T>, String) - Static method in class com.aol.cyclops.streams.StreamUtils
 
join(Stream<T>, String, String, String) - Static method in class com.aol.cyclops.streams.StreamUtils
 

L

lastValue() - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
 
leftOuterJoin(Stream<U>, BiPredicate<T, U>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
limit(long) - Method in class com.aol.cyclops.sequence.SequenceMImpl
assertThat(anyM(Stream.of(4,3,6,7)).asSequence().limit(2).toList(),equalTo(Arrays.asList(4,3)));
limit(long, TimeUnit) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
limit(Stream<U>, long, TimeUnit) - Static method in class com.aol.cyclops.streams.StreamUtils
 
limitLast(int) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
limitLast() - Method in class com.aol.cyclops.streams.operators.LimitLastOperator
 
limitLast(Stream<U>, int) - Static method in class com.aol.cyclops.streams.StreamUtils
 
LimitLastOperator<T> - Class in com.aol.cyclops.streams.operators
 
LimitLastOperator(Stream<T>, int) - Constructor for class com.aol.cyclops.streams.operators.LimitLastOperator
 
limitUntil(Predicate<? super T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
assertThat(anyM(Stream.of(4,3,6,7)).limitUntil(i->i==6).toList(),equalTo(Arrays.asList(4,3)));
limitUntil(Stream<U>, Predicate<? super U>) - Static method in class com.aol.cyclops.streams.StreamUtils
Take elements from a Stream until the predicate holds
limitWhile(Predicate<? super T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
assertThat(anyM(Stream.of(4,3,6,7)).asSequence().sorted().limitWhile(i->i<6).toList(),equalTo(Arrays.asList(3,4)));
limitWhile(Predicate<? super U>) - Method in class com.aol.cyclops.streams.operators.LimitWhileOperator
 
limitWhile(long, TimeUnit) - Method in class com.aol.cyclops.streams.operators.LimitWhileTimeOperator
 
limitWhile(Stream<U>, Predicate<? super U>) - Static method in class com.aol.cyclops.streams.StreamUtils
Take elements from a stream while the predicates hold
LimitWhileOperator<U> - Class in com.aol.cyclops.streams.operators
 
LimitWhileOperator() - Constructor for class com.aol.cyclops.streams.operators.LimitWhileOperator
 
LimitWhileTimeOperator<U> - Class in com.aol.cyclops.streams.operators
 
LimitWhileTimeOperator() - Constructor for class com.aol.cyclops.streams.operators.LimitWhileTimeOperator
 
LongOperatorsMixin<T> - Interface in com.aol.cyclops.streams.future
 

M

map(Function<? super T, ? extends R>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
mapReduce(Monoid<R>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Attempt to map this Monad to the same type as the supplied Monoid (using mapToType on the monoid interface) Then use Monoid to reduce values
mapReduce(Function<? super T, ? extends R>, Monoid<R>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Attempt to map this Monad to the same type as the supplied Monoid, using supplied function Then use Monoid to reduce values
mapReduce(Stream<T>, Monoid<R>) - Static method in class com.aol.cyclops.streams.StreamUtils
Attempt to map this Monad to the same type as the supplied Monoid (using mapToType on the monoid interface) Then use Monoid to reduce values
mapReduce(Stream<T>, Function<? super T, ? extends R>, Monoid<R>) - Static method in class com.aol.cyclops.streams.StreamUtils
Attempt to map this Monad to the same type as the supplied Monoid, using supplied function Then use Monoid to reduce values
mapToDouble(ToDoubleFunction<? super T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
mapToInt(ToIntFunction<? super T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
mapToLong(ToLongFunction<? super T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
max(Comparator<? super T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
max(Comparator<? super T>) - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
Perform an asyncrhonous min operation
max(Stream<T>, Comparator<? super T>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
maxBy(Function<T, C>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Extract the maximum as determined by the supplied function
maxBy(Function<T, U>) - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
Asynchronously capture the maximum value in this stream using the provided function
maxBy(Stream<T>, Function<T, C>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
maxDouble(ToDoubleFunction<T>) - Method in interface com.aol.cyclops.streams.future.DoubleOperatorsMixin
Perform an asynchronous max operation
maxInt(ToIntFunction<T>) - Method in interface com.aol.cyclops.streams.future.IntOperatorsMixin
Perform an asynchronous max operation
maxLong(ToLongFunction<T>) - Method in interface com.aol.cyclops.streams.future.LongOperatorsMixin
Perform an asynchronous max operation
min(Comparator<? super T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
min(Comparator<? super T>) - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
Perform an asyncrhonous min operation
min(Stream<T>, Comparator<? super T>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
minBy(Function<T, U>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Extract the minimum as determined by supplied function
minBy(Function<T, U>) - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
Asynchronously capture the minimum value in this stream using the provided function
minBy(Stream<T>, Function<T, C>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
minDouble(ToDoubleFunction<T>) - Method in interface com.aol.cyclops.streams.future.DoubleOperatorsMixin
Perform an asynchronous min operation
minInt(ToIntFunction<T>) - Method in interface com.aol.cyclops.streams.future.IntOperatorsMixin
Perform an asynchronous min operation
minLong(ToLongFunction<T>) - Method in interface com.aol.cyclops.streams.future.LongOperatorsMixin
Perform an asynchronous min operation
MultiCollectOperator<T> - Class in com.aol.cyclops.streams.operators
 
MultiCollectOperator() - Constructor for class com.aol.cyclops.streams.operators.MultiCollectOperator
 
MultiReduceOperator<R> - Class in com.aol.cyclops.streams.operators
 
MultiReduceOperator() - Constructor for class com.aol.cyclops.streams.operators.MultiReduceOperator
 

N

noneMatch(Predicate<? super T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
noneMatch(Predicate<? super T>) - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
Perform an asynchronous Any Match operation
noneMatch(Stream<T>, Predicate<? super T>) - Static method in class com.aol.cyclops.streams.StreamUtils
assertThat(StreamUtils.noneMatch(of(1,2,3,4,5),it-> it==5000),equalTo(true));

O

ofType(Class<U>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Keep only those elements in a stream that are of a given type.
ofType(Stream<T>, Class<U>) - Static method in class com.aol.cyclops.streams.StreamUtils
Keep only those elements in a stream that are of a given type.
onClose(Runnable) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
onEmpty(T) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
onEmptyGet(Supplier<T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
onEmptyThrow(Supplier<X>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
onePer(long, TimeUnit) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
onePer(long, TimeUnit) - Method in class com.aol.cyclops.streams.operators.OnePerOperator
 
onePer(Stream<T>, long, TimeUnit) - Static method in class com.aol.cyclops.streams.StreamUtils
 
OnePerOperator<T> - Class in com.aol.cyclops.streams.operators
 
OnePerOperator() - Constructor for class com.aol.cyclops.streams.operators.OnePerOperator
 
optionalToStream(Optional<T>) - Static method in class com.aol.cyclops.streams.StreamUtils
 

P

parallel() - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
partition(Stream<T>, Predicate<T>) - Static method in class com.aol.cyclops.streams.StreamUtils
Partition a Stream into two one a per element basis, based on predicate's boolean value
partitionSequence(Predicate<T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Partition a Stream into two one a per element basis, based on predicate's boolean value
peek(Consumer<? super T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
prepend(T...) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Prepend given values to the start of the Stream
prepend(Stream<T>, T...) - Static method in class com.aol.cyclops.streams.StreamUtils
Prepend given values to the start of the Stream
prependStream(Stream<T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Prepend Stream to this SequenceM
prependStream(Stream<T>, Stream<T>) - Static method in class com.aol.cyclops.streams.StreamUtils
Prepend Stream to this SequenceM

Q

quadruplicate() - Method in class com.aol.cyclops.sequence.SequenceMImpl
Makes four copies of a Stream Buffers intermediate values, leaders may change positions so a limit can be safely applied to the leading stream.
quadruplicate(Stream<T>) - Static method in class com.aol.cyclops.streams.StreamUtils
Makes four copies of a Stream Buffers intermediate values, leaders may change positions so a limit can be safely applied to the leading stream.

R

recover(Function<Throwable, ? extends T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
recover(Class<EX>, Function<EX, ? extends T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
recover(Function<Throwable, ? extends T>) - Method in class com.aol.cyclops.streams.operators.RecoverOperator
 
recover(Stream<T>, Function<Throwable, ? extends T>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
recover(Stream<T>, Class<EX>, Function<EX, ? extends T>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
RecoverOperator<T> - Class in com.aol.cyclops.streams.operators
 
RecoverOperator() - Constructor for class com.aol.cyclops.streams.operators.RecoverOperator
 
reduce(Monoid<T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
reduce(BinaryOperator<T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
reduce(T, BinaryOperator<T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
reduce(U, BiFunction<U, ? super T, U>, BinaryOperator<U>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
reduce(Stream<? extends Monoid<T>>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Reduce with multiple reducers in parallel NB if this Monad is an Optional [Arrays.asList(1,2,3)] reduce will operate on the Optional as if the list was one value To reduce over the values on the list, called streamedStreamUtils.sequenceM() first.
reduce(Iterable<Monoid<T>>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Reduce with multiple reducers in parallel NB if this Monad is an Optional [Arrays.asList(1,2,3)] reduce will operate on the Optional as if the list was one value To reduce over the values on the list, called streamedStreamUtils.sequenceM() first.
reduce(U, BiFunction<U, ? super T, U>, BinaryOperator<U>) - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
Asynchronously perform a Stream reduction
reduce(BinaryOperator<T>) - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
Asynchronously perform a Stream reduction
reduce(T, BinaryOperator<T>) - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
Asynchronously perform a Stream reduction
reduce(Iterable<? extends Monoid<R>>) - Method in class com.aol.cyclops.streams.operators.MultiReduceOperator
 
reduce(Stream<R>, Iterable<? extends Monoid<R>>) - Static method in class com.aol.cyclops.streams.StreamUtils
Simultaneously reduce a stream with multiple reducers
reduce(Stream<R>, Stream<? extends Monoid<R>>) - Static method in class com.aol.cyclops.streams.StreamUtils
Simultanously reduce a stream with multiple reducers
reverse() - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
reverse(Stream<U>) - Static method in class com.aol.cyclops.streams.StreamUtils
Reverse a Stream
reversedStream(List<U>) - Static method in class com.aol.cyclops.streams.StreamUtils
Create a reversed Stream from a List
rightOuterJoin(Stream<U>, BiPredicate<T, U>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 

S

scanLeft(Monoid<T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Scan left using supplied Monoid
scanLeft(U, BiFunction<U, ? super T, U>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Scan left
scanLeft(Stream<T>, Monoid<T>) - Static method in class com.aol.cyclops.streams.StreamUtils
Scan left using supplied Monoid
scanRight(Monoid<T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Scan right
scanRight(U, BiFunction<? super T, U, U>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Scan right
scanRight(Stream<T>, U, BiFunction<? super T, U, U>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
schedule(String, ScheduledExecutorService) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
schedule(String, ScheduledExecutorService) - Method in class com.aol.cyclops.streams.HotStreamImpl
 
schedule(Stream<T>, String, ScheduledExecutorService) - Static method in class com.aol.cyclops.streams.StreamUtils
Execute this Stream on a schedule
scheduleFixedDelay(long, ScheduledExecutorService) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
scheduleFixedDelay(long, ScheduledExecutorService) - Method in class com.aol.cyclops.streams.HotStreamImpl
 
scheduleFixedDelay(Stream<T>, long, ScheduledExecutorService) - Static method in class com.aol.cyclops.streams.StreamUtils
Execute this Stream on a schedule
scheduleFixedRate(long, ScheduledExecutorService) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
scheduleFixedRate(long, ScheduledExecutorService) - Method in class com.aol.cyclops.streams.HotStreamImpl
 
scheduleFixedRate(Stream<T>, long, ScheduledExecutorService) - Static method in class com.aol.cyclops.streams.StreamUtils
Execute this Stream on a schedule
sequenceM(Stream<T>, ReversableSpliterator) - Method in class com.aol.cyclops.sequence.SequenceMFactoryImpl
 
sequenceM(Stream<T>, Optional<ReversableSpliterator>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
SequenceMFactoryImpl - Class in com.aol.cyclops.sequence
 
SequenceMFactoryImpl() - Constructor for class com.aol.cyclops.sequence.SequenceMFactoryImpl
 
SequenceMImpl<T> - Class in com.aol.cyclops.sequence
 
SequenceMImpl(Stream<T>) - Constructor for class com.aol.cyclops.sequence.SequenceMImpl
 
SequenceMImpl(Stream<T>, ReversableSpliterator) - Constructor for class com.aol.cyclops.sequence.SequenceMImpl
 
sequential() - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
shuffle() - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
shuffle(Random) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
shuffle(Stream<T>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
single() - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
 
single(Predicate<T>) - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
 
singleOptional() - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
 
skip(long) - Method in class com.aol.cyclops.sequence.SequenceMImpl
assertThat(anyM(Stream.of(4,3,6,7)).asSequence().skip(2).toList(),equalTo(Arrays.asList(6,7)));
skip(long, TimeUnit) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
skip(Stream<U>, long, TimeUnit) - Static method in class com.aol.cyclops.streams.StreamUtils
 
skipLast(int) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
skipLast() - Method in class com.aol.cyclops.streams.operators.SkipLastOperator
 
skipLast(Stream<U>, int) - Static method in class com.aol.cyclops.streams.StreamUtils
 
SkipLastOperator<T> - Class in com.aol.cyclops.streams.operators
 
SkipLastOperator(Stream<T>, int) - Constructor for class com.aol.cyclops.streams.operators.SkipLastOperator
 
skipUntil(Predicate<? super T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
assertThat(anyM(Stream.of(4,3,6,7)).asSequence().skipUntil(i->i==6).toList(),equalTo(Arrays.asList(6,7)));
skipUntil(Stream<U>, Predicate<? super U>) - Static method in class com.aol.cyclops.streams.StreamUtils
skip elements in Stream until Predicate holds true
skipWhile(Predicate<? super T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
assertThat(anyM(Stream.of(4,3,6,7)).asSequence().sorted().skipWhile(i->i<6).toList(),equalTo(Arrays.asList(6,7)));
skipWhile(Predicate<? super U>) - Method in class com.aol.cyclops.streams.operators.SkipWhileOperator
 
skipWhile(long, TimeUnit) - Method in class com.aol.cyclops.streams.operators.SkipWhileTimeOperator
 
skipWhile(Stream<U>, Predicate<? super U>) - Static method in class com.aol.cyclops.streams.StreamUtils
skip elements in a Stream while Predicate holds true
SkipWhileOperator<U> - Class in com.aol.cyclops.streams.operators
 
SkipWhileOperator() - Constructor for class com.aol.cyclops.streams.operators.SkipWhileOperator
 
SkipWhileTimeOperator<U> - Class in com.aol.cyclops.streams.operators
 
SkipWhileTimeOperator() - Constructor for class com.aol.cyclops.streams.operators.SkipWhileTimeOperator
 
slice(long, long) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
sliding(int) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Create a sliding view over this Sequence
sliding(int, int) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Create a sliding view over this Sequence
sliding(Stream<T>, int, int) - Static method in class com.aol.cyclops.streams.StreamUtils
Create a sliding view over this Stream
sliding(Stream<T>, int) - Static method in class com.aol.cyclops.streams.StreamUtils
Create a sliding view over this Stream
sorted() - Method in class com.aol.cyclops.sequence.SequenceMImpl
assertThat(SequenceM.of(4,3,6,7)).sorted().toList(),equalTo(Arrays.asList(3,4,6,7)));
sorted(Comparator<? super T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
assertThat(anyM(Stream.of(4,3,6,7)).asSequence().sorted((a,b) -> b-a).toList(),equalTo(Arrays.asList(7,6,4,3)));
sorted(Function<? super T, ? extends U>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
splitAt(int) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Split at supplied location
splitAt(Stream<T>, int) - Static method in class com.aol.cyclops.streams.StreamUtils
Split at supplied location
splitBy(Predicate<T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Split stream at point where predicate no longer holds
splitBy(Stream<T>, Predicate<T>) - Static method in class com.aol.cyclops.streams.StreamUtils
Split stream at point where predicate no longer holds
spliterator() - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
splitSequenceAtHead() - Method in class com.aol.cyclops.sequence.SequenceMImpl
Split a Stream at it's head (similar to headAndTail)
startsWith(Iterable<T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
assertTrue(StreamUtils.sequenceM(Stream.of(1,2,3,4)).startsWith(Arrays.asList(1,2,3)));
startsWith(Iterator<T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
assertTrue(StreamUtils.sequenceM(Stream.of(1,2,3,4)).startsWith(Arrays.asList(1,2,3).iterator()))
startsWith(Stream<T>, Iterable<T>) - Static method in class com.aol.cyclops.streams.StreamUtils
assertTrue(StreamUtils.startsWith(Stream.of(1,2,3,4),Arrays.asList(1,2,3)));
startsWith(Stream<T>, Iterator<T>) - Static method in class com.aol.cyclops.streams.StreamUtils
assertTrue(StreamUtils.startsWith(Stream.of(1,2,3,4),Arrays.asList(1,2,3).iterator()))
stream() - Method in class com.aol.cyclops.sequence.SequenceMImpl
Unwrap this Monad into a Stream.
stream(Iterable<U>) - Static method in class com.aol.cyclops.streams.StreamUtils
Create a stream from an iterable
stream(Spliterator<U>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
stream(Iterator<U>) - Static method in class com.aol.cyclops.streams.StreamUtils
Create a stream from an iterator
stream(Map<K, V>) - Static method in class com.aol.cyclops.streams.StreamUtils
Create a stream from a map
streamToCompletableFuture(Stream<T>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
streamToOptional(Stream<T>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
StreamUtils - Class in com.aol.cyclops.streams
 
StreamUtils() - Constructor for class com.aol.cyclops.streams.StreamUtils
 
subscribe(Subscriber<? super T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
sumDouble(ToDoubleFunction<T>) - Method in interface com.aol.cyclops.streams.future.DoubleOperatorsMixin
Perform an asynchronous sum operation
sumInt(ToIntFunction<T>) - Method in interface com.aol.cyclops.streams.future.IntOperatorsMixin
Perform an asynchronous sum operation
sumLong(ToLongFunction<T>) - Method in interface com.aol.cyclops.streams.future.LongOperatorsMixin
Perform an asynchronous sum operation
summaryStatisticsDouble(ToDoubleFunction<T>) - Method in interface com.aol.cyclops.streams.future.DoubleOperatorsMixin
Perform an asynchronous summaryStatistics operation
summaryStatisticsInt(ToIntFunction<T>) - Method in interface com.aol.cyclops.streams.future.IntOperatorsMixin
Perform an asynchronous summaryStatistics operation
summaryStatisticsLong(ToLongFunction<T>) - Method in interface com.aol.cyclops.streams.future.LongOperatorsMixin
Perform an asynchronous summaryStatistics operation

T

toArray() - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
toArray(IntFunction<A[]>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
toArray(IntFunction<A[]>) - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
Asyncrhonously generate an Array
toArray() - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
Asyncrhonously generate an Array
toBufferingCopier(Iterator<A>, int) - Static method in class com.aol.cyclops.streams.StreamUtils
 
toBufferingDuplicator(Iterator<A>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
toBufferingDuplicator(Iterator<A>, long) - Static method in class com.aol.cyclops.streams.StreamUtils
 
toCollection(Supplier<C>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
toCollection(Supplier<C>) - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
Asynchronously perform a Stream collection
toCompletableFuture() - Method in class com.aol.cyclops.sequence.SequenceMImpl
CompletableFuture<List<String>> cf = anyM("hello","world") .asSequence() .unwrapCompletableFuture(); assertThat(cf.join(),equalTo(Arrays.asList("hello","world")));
toConcurrentLazyCollection() - Method in class com.aol.cyclops.sequence.SequenceMImpl
Lazily converts this SequenceM into a Collection.
toConcurrentLazyCollection(Stream<A>) - Static method in class com.aol.cyclops.streams.StreamUtils
Lazily constructs a Collection from specified Stream.
toConcurrentLazyCollection(Iterator<A>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
toConcurrentLazyCollection(Stream<A>) - Static method in class com.aol.cyclops.streams.ToLazyCollection
Lazily constructs a Collection from specified Stream.
toConcurrentLazyCollection(Iterator<A>) - Static method in class com.aol.cyclops.streams.ToLazyCollection
 
toConcurrentLazyStreamable() - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
toConcurrentLazyStreamable(Stream<T>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
toLazyCollection() - Method in class com.aol.cyclops.sequence.SequenceMImpl
Lazily converts this SequenceM into a Collection.
toLazyCollection(Stream<A>) - Static method in class com.aol.cyclops.streams.StreamUtils
Projects an immutable collection of this stream.
toLazyCollection(Iterator<A>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
ToLazyCollection - Class in com.aol.cyclops.streams
 
ToLazyCollection() - Constructor for class com.aol.cyclops.streams.ToLazyCollection
 
toLazyCollection(Stream<A>) - Static method in class com.aol.cyclops.streams.ToLazyCollection
Projects an immutable collection of this stream.
toLazyCollection(Iterator<A>) - Static method in class com.aol.cyclops.streams.ToLazyCollection
 
toLazyStreamable() - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
toLazyStreamable(Stream<T>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
toList() - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
toList() - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
Asynchronously convert this Stream into a List
toList(Stream<T>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
toOptional() - Method in class com.aol.cyclops.sequence.SequenceMImpl
Type safe unwrap
toSet() - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
toSet() - Method in class com.aol.cyclops.streams.future.FutureOperationsImpl
Asynchronously convert this Stream into a List
toSet(Stream<T>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
toStream() - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
toStreamable() - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
toStreamable(Stream<T>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
triplicate() - Method in class com.aol.cyclops.sequence.SequenceMImpl
Triplicates a Stream Buffers intermediate values, leaders may change positions so a limit can be safely applied to the leading stream.
triplicate(Stream<T>) - Static method in class com.aol.cyclops.streams.StreamUtils
Triplicates a Stream Buffers intermediate values, leaders may change positions so a limit can be safely applied to the leading stream.
tryAdvance(Consumer<? super T>) - Method in class com.aol.cyclops.streams.spliterators.ClosingSpliterator
 
trySplit() - Method in class com.aol.cyclops.streams.spliterators.ClosingSpliterator
 

U

unordered() - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
unwrap() - Method in class com.aol.cyclops.sequence.SequenceMImpl
Deprecated.
unwrapStream() - Method in class com.aol.cyclops.sequence.SequenceMImpl
Type safe unwrap

W

window(Stream<T>, int, int) - Static method in class com.aol.cyclops.streams.StreamUtils
Create a sliding view over this Stream
windowBySizeAndTime(int, long, TimeUnit) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
windowBySizeAndTime(int, long, TimeUnit) - Method in class com.aol.cyclops.streams.operators.WindowByTimeAndSizeOperator
 
windowBySizeAndTime(Stream<T>, int, long, TimeUnit) - Static method in class com.aol.cyclops.streams.StreamUtils
 
windowByTime(long, TimeUnit) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
windowByTime(Stream<T>, long, TimeUnit) - Static method in class com.aol.cyclops.streams.StreamUtils
 
WindowByTimeAndSizeOperator<T> - Class in com.aol.cyclops.streams.operators
 
WindowByTimeAndSizeOperator() - Constructor for class com.aol.cyclops.streams.operators.WindowByTimeAndSizeOperator
 
windowStatefullyWhile(BiPredicate<Streamable<? super T>, ? super T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
windowStatefullyWhile(BiPredicate<Streamable<? super T>, ? super T>) - Method in class com.aol.cyclops.streams.operators.WindowStatefullyWhileOperator
 
windowStatefullyWhile(Stream<T>, BiPredicate<Streamable<? super T>, ? super T>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
WindowStatefullyWhileOperator<T> - Class in com.aol.cyclops.streams.operators
 
WindowStatefullyWhileOperator() - Constructor for class com.aol.cyclops.streams.operators.WindowStatefullyWhileOperator
 
windowUntil(Predicate<? super T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
windowWhile(Predicate<? super T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
windowWhile(Predicate<? super T>) - Method in class com.aol.cyclops.streams.operators.WindowWhileOperator
 
windowWhile(Stream<T>, Predicate<? super T>) - Static method in class com.aol.cyclops.streams.StreamUtils
 
WindowWhileOperator<T> - Class in com.aol.cyclops.streams.operators
 
WindowWhileOperator() - Constructor for class com.aol.cyclops.streams.operators.WindowWhileOperator
 

X

xMatch(int, Predicate<? super T>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Check that there are specified number of matches of predicate in the Stream
xMatch(Stream<T>, int, Predicate<? super T>) - Static method in class com.aol.cyclops.streams.StreamUtils
Check that there are specified number of matches of predicate in the Stream
xPer(int, long, TimeUnit) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
xPer(Stream<T>, int, long, TimeUnit) - Static method in class com.aol.cyclops.streams.StreamUtils
 

Z

zip(Stream<? extends S>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Zip 2 streams into one
zip(AnyM<? extends S>, BiFunction<? super T, ? super S, ? extends R>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Zip this SequenceM against any monad type.
zip(Seq<U>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
zip(Seq<U>, BiFunction<T, U, R>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
zip3(Stream<? extends S>, Stream<? extends U>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
zip 3 Streams into one
zip4(Stream<T2>, Stream<T3>, Stream<T4>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
zip 4 Streams into 1
zipAnyM(AnyM<? extends S>, BiFunction<? super T, ? super S, ? extends R>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
zipAnyM(Stream<T>, AnyM<? extends S>, BiFunction<? super T, ? super S, ? extends R>) - Static method in class com.aol.cyclops.streams.StreamUtils
Generic zip function.
zipSequence(SequenceM<? extends S>, BiFunction<? super T, ? super S, ? extends R>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Generic zip function.
zipSequence(Stream<T>, Stream<? extends S>, BiFunction<? super T, ? super S, ? extends R>) - Static method in class com.aol.cyclops.streams.StreamUtils
Generic zip function.
zipStream(BaseStream<? extends S, ? extends BaseStream<? extends S, ?>>, BiFunction<? super T, ? super S, ? extends R>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
Zip this Monad with a Stream
zipStream(Stream<U>) - Method in class com.aol.cyclops.sequence.SequenceMImpl
 
zipStream(Stream<T>, BaseStream<? extends S, ? extends BaseStream<? extends S, ?>>, BiFunction<? super T, ? super S, ? extends R>) - Static method in class com.aol.cyclops.streams.StreamUtils
Zip this Monad with a Stream
zipWithIndex() - Method in class com.aol.cyclops.sequence.SequenceMImpl
Add an index to the current Stream
A B C D E F G H I J L M N O P Q R S T U W X Z 
Skip navigation links