- cancel() - Method in class com.aol.cyclops.sequence.reactivestreams.ReactiveTask
-
- cast(Class<U>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Cast all elements in a stream to a given type, possibly throwing a
ClassCastException
.
- cast(Class<U>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Cast all elements in a stream to a given type, possibly throwing a
ClassCastException
.
- characteristics() - Method in class com.aol.cyclops.sequence.spliterators.ReversingArraySpliterator
-
- characteristics() - Method in class com.aol.cyclops.sequence.spliterators.ReversingListSpliterator
-
- characteristics() - Method in class com.aol.cyclops.sequence.spliterators.ReversingRangeIntSpliterator
-
- characteristics() - Method in class com.aol.cyclops.sequence.spliterators.ReversingRangeLongSpliterator
-
- checkNext(int, String, int, int) - Method in class com.aol.cyclops.scheduling.util.cron.CronExpression
-
- clone() - Method in class com.aol.cyclops.scheduling.util.cron.CronExpression
-
Deprecated.
- CoercedDecomposable() - Constructor for class com.aol.cyclops.objects.AsDecomposable.CoercedDecomposable
-
- collect(Collector<? super T, A, R>) - Method in interface com.aol.cyclops.monad.AnyM
-
Collect the contents of the monad wrapped by this AnyM into supplied collector
- collect(Collector<? super T, A, R>) - Method in interface com.aol.cyclops.sequence.future.FutureOperations
-
Asynchronously perform a Stream collection
- collect(Supplier<R>, BiConsumer<R, ? super T>, BiConsumer<R, R>) - Method in interface com.aol.cyclops.sequence.future.FutureOperations
-
Asynchronously perform a Stream collection
- collect(Supplier<R>, BiConsumer<R, ? super T>, BiConsumer<R, R>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
- collect(Collector<? super T, A, R>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
- collectIterable(Iterable<Collector>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Deprecated.
- collectIterable(Iterable<Collector>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Apply multiple Collectors, simultaneously to a Stream
- collectStream(Stream<Collector>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Deprecated.
- collectStream(Stream<Collector>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Apply multiple collectors Simulataneously to this Monad
- com.aol.cyclops.monad - package com.aol.cyclops.monad
-
- com.aol.cyclops.objects - package com.aol.cyclops.objects
-
- com.aol.cyclops.scheduling.util.cron - package com.aol.cyclops.scheduling.util.cron
-
- com.aol.cyclops.sequence - package com.aol.cyclops.sequence
-
- com.aol.cyclops.sequence.future - package com.aol.cyclops.sequence.future
-
- com.aol.cyclops.sequence.reactivestreams - package com.aol.cyclops.sequence.reactivestreams
-
- com.aol.cyclops.sequence.spliterators - package com.aol.cyclops.sequence.spliterators
-
- com.aol.cyclops.sequence.streamable - package com.aol.cyclops.sequence.streamable
-
- combinations(int) - Method in interface com.aol.cyclops.sequence.SequenceM
-
SequenceM.of(1,2,3).combinations(2)
//SequenceM[SequenceM[1,2],SequenceM[1,3],SequenceM[2,3]]
- combinations() - Method in interface com.aol.cyclops.sequence.SequenceM
-
SequenceM.of(1,2,3).combinations()
//SequenceM[SequenceM[],SequenceM[1],SequenceM[2],SequenceM[3].SequenceM[1,2],SequenceM[1,3],SequenceM[2,3]
,SequenceM[1,2,3]]
- combinations(int) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Streamable.of(1,2,3).combinations(2)
//Streamable[Streamable[1,2],Streamable[1,3],Streamable[2,3]]
- combinations() - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Streamable.of(1,2,3).combinations()
//Streamable[Streamable[],Streamable[1],Streamable[2],Streamable[3],Streamable[1,2],Streamable[1,3],Streamable[2,3]
,Streamable[1,2,3]]
- combiner() - Method in interface com.aol.cyclops.sequence.Monoid
-
- concat(Stream<T>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
- concat(T) - Method in interface com.aol.cyclops.sequence.SequenceM
-
- concat(T...) - Method in interface com.aol.cyclops.sequence.SequenceM
-
- concat(Streamable<T>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
- concat(T) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
- concat(T...) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
- connect() - Method in interface com.aol.cyclops.sequence.HotStream
-
- connect(Queue<T>) - Method in interface com.aol.cyclops.sequence.HotStream
-
- connectTo(Queue<T>, Function<SequenceM<T>, R>) - Method in interface com.aol.cyclops.sequence.HotStream
-
- contains(T) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
True if a streamable contains element t
- copy() - Method in interface com.aol.cyclops.sequence.spliterators.ReversableSpliterator
-
- copy() - Method in class com.aol.cyclops.sequence.spliterators.ReversingArraySpliterator
-
- copy() - Method in class com.aol.cyclops.sequence.spliterators.ReversingListSpliterator
-
- copy() - Method in class com.aol.cyclops.sequence.spliterators.ReversingRangeIntSpliterator
-
- copy() - Method in class com.aol.cyclops.sequence.spliterators.ReversingRangeLongSpliterator
-
- count() - Method in interface com.aol.cyclops.sequence.future.FutureOperations
-
Asynchronously perform a Stream count
- count() - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
- CronExpression - Class in com.aol.cyclops.scheduling.util.cron
-
Provides a parser and evaluator for unix-like cron expressions.
- CronExpression(String) - Constructor for class com.aol.cyclops.scheduling.util.cron.CronExpression
-
Constructs a new CronExpression
based on the specified
parameter.
- CronExpression(CronExpression) - Constructor for class com.aol.cyclops.scheduling.util.cron.CronExpression
-
Constructs a new CronExpression
as a copy of an existing
instance.
- crossJoin(Stream<U>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
- crossJoin(Streamable<U>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
- cycle(int) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Convert to a Stream with the values repeated specified times
- cycle() - Method in interface com.aol.cyclops.sequence.SequenceM
-
Convert to a Stream with the values infinitely cycled
- cycle(Monoid<T>, int) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Convert to a Stream with the result of a reduction operation repeated
specified times
- cycle(Class<R>, int) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Deprecated.
- cycle(int, Streamable<U>) - Static method in class com.aol.cyclops.sequence.SeqUtils
-
Create a Stream that finitely cycles the provided Streamable, provided number of times
- cycle(int) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Convert to a Stream with the values repeated specified times
- cycle() - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Convert to a Stream with the values infinitely cycled
- cycle(Monoid<T>, int) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Convert to a Stream with the result of a reduction operation repeated
specified times
- cycle(Class<R>, int) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Convert to a Stream, repeating the resulting structure specified times
and lifting all values to the specified Monad type
- cycleUntil(Predicate<? super T>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Repeat in a Stream until specified predicate holds
- cycleUntil(Predicate<? super T>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Repeat in a Stream until specified predicate holds
- cycleWhile(Predicate<? super T>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Repeat in a Stream while specified predicate holds
- cycleWhile(Predicate<? super T>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Repeat in a Stream while specified predicate holds
- CyclopsSubscriber<T> - Interface in com.aol.cyclops.sequence.reactivestreams
-
- filter(Predicate<? super T>) - Method in interface com.aol.cyclops.monad.AnyM
-
Perform a filter operation on the wrapped monad instance e.g.
- filter(Predicate<? super T>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
- filter(Predicate<? super T>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
- findAny() - Method in interface com.aol.cyclops.sequence.future.FutureOperations
-
Perform an asynchronous findAny operation
- findAny() - Method in interface com.aol.cyclops.sequence.SequenceM
-
- findAny() - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
- findFirst() - Method in interface com.aol.cyclops.sequence.future.FutureOperations
-
Perform an asynchronous findAny operation
- findFirst() - Method in interface com.aol.cyclops.sequence.SequenceM
-
- findFirst() - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
- findNextWhiteSpace(int, String) - Method in class com.aol.cyclops.scheduling.util.cron.CronExpression
-
- firstValue() - Method in interface com.aol.cyclops.sequence.future.FutureOperations
-
Perform an asynchronous findAny operation
- firstValue() - Method in interface com.aol.cyclops.sequence.SequenceM
-
assertThat(SequenceM.of(1,2,3,4)
.map(u->{throw new RuntimeException();})
.recover(e->"hello")
.firstValue(),equalTo("hello"));
- firstValue() - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
assertThat(Streamable.of(1,2,3,4)
.map(u->{throw new RuntimeException();})
.recover(e->"hello")
.firstValue(),equalTo("hello"));
- fixedDelay(long, TimeUnit) - Method in interface com.aol.cyclops.sequence.SequenceM
-
emit elements after a fixed delay
- fixedDelay(long, TimeUnit) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
emit elements after a fixed delay
- flatMap(Function<? super T, AnyM<? extends R>>) - Method in interface com.aol.cyclops.monad.AnyM
-
flatMap operation
AnyM follows the javaslang modified 'monad' laws https://gist.github.com/danieldietrich/71be006b355d6fbc0584
In particular left-identity becomes
Left identity: unit(a).flatMap(f) ≡ select(f.apply(a))
Or in plain English, if your flatMap function returns multiple values (such as flatMap by Stream) but the current Monad only can only hold one value,
only the first value is accepted.
- flatMap(Function<? super T, ? extends Stream<? extends R>>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
flatMap operation
- flatMap(Function<? super T, Streamable<? extends R>>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
- flatMapAnyM(Function<? super T, AnyM<? extends R>>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Allows flatMap return type to be any Monad type
- flatMapAnyM(Function<? super T, AnyM<? extends R>>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Allows flatMap return type to be any Monad type
- flatMapBufferedReader(Function<? super T, BufferedReader>) - Method in interface com.aol.cyclops.monad.FlatMapM
-
Perform a flatMap operation where the result will be a flattened stream of Strings
from the text loaded from the supplied BufferedReaders
- flatMapBufferedReader(Function<? super T, BufferedReader>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Perform a flatMap operation where the result will be a flattened stream of Strings
from the text loaded from the supplied BufferedReaders
- flatMapBufferedReader(Function<? super T, BufferedReader>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
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 interface com.aol.cyclops.monad.FlatMapM
-
Perform a flatMap operation where the result will be a flattened stream of Characters
from the CharSequence returned by the supplied function.
- flatMapCharSequence(Function<? super T, CharSequence>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Perform a flatMap operation where the result will be a flattened stream of Characters
from the CharSequence returned by the supplied function.
- flatMapCharSequence(Function<? super T, CharSequence>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
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 interface com.aol.cyclops.monad.FlatMapM
-
Convenience method to allow method reference support, when flatMap return type is a Stream.
- flatMapCollection(Function<? super T, Collection<? extends R>>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
FlatMap where the result is a Collection, flattens the resultant collections into the
host SequenceM
- flatMapCollection(Function<? super T, Collection<? extends R>>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
FlatMap where the result is a Collection, flattens the resultant collections into the
host Streamable
- flatMapCompletableFuture(Function<? super T, CompletableFuture<? extends R>>) - Method in interface com.aol.cyclops.monad.FlatMapM
-
- flatMapCompletableFuture(Function<? super T, CompletableFuture<? extends R>>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
flatMap to CompletableFuture - will block until Future complete, although (for non-blocking behaviour use AnyM
wrapping CompletableFuture and flatMap to Stream there)
- flatMapCompletableFuture(Function<? super T, CompletableFuture<? extends R>>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
flatMap to CompletableFuture - will block until Future complete, although (for non-blocking behaviour use AnyM
wrapping CompletableFuture and flatMap to Stream there)
- flatMapFile(Function<? super T, File>) - Method in interface com.aol.cyclops.monad.FlatMapM
-
Perform a flatMap operation where the result will be a flattened stream of Strings
from the text loaded from the supplied files.
- flatMapFile(Function<? super T, File>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Perform a flatMap operation where the result will be a flattened stream of Strings
from the text loaded from the supplied files.
- flatMapFile(Function<? super T, File>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Perform a flatMap operation where the result will be a flattened stream of Strings
from the text loaded from the supplied files.
- FlatMapM<T> - Interface in com.aol.cyclops.monad
-
- flatMapOptional(Function<? super T, Optional<? extends R>>) - Method in interface com.aol.cyclops.monad.FlatMapM
-
Convenience method to allow method reference support, when flatMap return type is a Optional
- flatMapOptional(Function<? super T, Optional<? extends R>>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
flatMap to optional - will result in null values being removed
- flatMapOptional(Function<? super T, Optional<? extends R>>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
flatMap to optional - will result in null values being removed
- flatMapSequenceM(Function<? super T, SequenceM<? extends R>>) - Method in interface com.aol.cyclops.monad.FlatMapM
-
Convenience method to allow method reference support, when flatMap return type is a Stream.
- flatMapStream(Function<? super T, BaseStream<? extends R, ?>>) - Method in interface com.aol.cyclops.monad.FlatMapM
-
Convenience method to allow method reference support, when flatMap return type is a Stream.
- flatMapStream(Function<? super T, BaseStream<? extends R, ?>>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
flatMap operation
- flatMapStream(Function<? super T, BaseStream<? extends R, ?>>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
flatMap operation
- flatMapStreamable(Function<? super T, Streamable<R>>) - Method in interface com.aol.cyclops.monad.FlatMapM
-
Convenience method to allow method reference support, when flatMap return type is a Stream.
- flatMapURL(Function<? super T, URL>) - Method in interface com.aol.cyclops.monad.FlatMapM
-
Perform a flatMap operation where the result will be a flattened stream of Strings
from the text loaded from the supplied URLs
- flatMapURL(Function<? super T, URL>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Perform a flatMap operation where the result will be a flattened stream of Strings
from the text loaded from the supplied URLs
- flatMapURL(Function<? super T, URL>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
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 interface com.aol.cyclops.monad.AnyM
-
join / flatten one level of a nested hierarchy
- flatten() - Method in interface com.aol.cyclops.sequence.SequenceM
-
join / flatten one level of a nested hierarchy
- flatten() - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
join / flatten one level of a nested hierarchy
- foldLeft(U, BiFunction<U, ? super T, U>) - Method in interface com.aol.cyclops.sequence.future.FutureOperations
-
Perform an asynchronous foldLeft operation
- foldLeft(Monoid<T>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
SequenceM.of("a","b","c").foldLeft(Reducers.toString(""));
// "abc"
- foldLeft(T, BinaryOperator<T>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
foldLeft : immutable reduction from left to right
- foldLeft(U, BiFunction<U, ? super T, U>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Fold a Streamable Left
- foldLeft(Monoid<T>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Streamable.of("a","b","c").foldLeft(Reducers.toString(""));
// "abc"
- foldLeft(T, BinaryOperator<T>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
foldLeft : immutable reduction from left to right
- foldLeftMapToType(Monoid<T>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
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(Monoid<T>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
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(U, BiFunction<? super T, U, U>) - Method in interface com.aol.cyclops.sequence.future.FutureOperations
-
Perform an asynchronous foldRight operation
- foldRight(Monoid<T>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
SequenceM.of("a","b","c").foldRight(Reducers.toString(""));
// "cab"
- foldRight(T, BinaryOperator<T>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Immutable reduction from right to left
- foldRight(U, BiFunction<? super T, U, U>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Fold a Streamable fromt the right
- foldRight(Monoid<T>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Streamable.of("a","b","c").foldRight(Reducers.toString(""));
// "cab"
- foldRight(T, BinaryOperator<T>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Immutable reduction from right to left
- foldRightMapToType(Monoid<T>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
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(Monoid<T>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
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<T>) - Method in interface com.aol.cyclops.sequence.future.FutureOperations
-
- forEach2(Function<? super T, ? extends AnyM<R1>>, Function<? super T, Function<? super R1, ? extends R>>) - Method in interface com.aol.cyclops.monad.AnyM
-
Perform a two level nested internal iteration over this Stream and the supplied monad (allowing null handling, exception handling
etc to be injected, for example)
- forEach2(Function<? super T, ? extends AnyM<R1>>, Function<? super T, Function<? super R1, Boolean>>, Function<? super T, Function<? super R1, ? extends R>>) - Method in interface com.aol.cyclops.monad.AnyM
-
Perform a two level nested internal iteration over this Stream and the supplied monad (allowing null handling, exception handling
etc to be injected, for example)
- forEach2(Function<? super T, ? extends BaseStream<R1, ?>>, Function<? super T, Function<? super R1, ? extends R>>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
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 interface com.aol.cyclops.sequence.SequenceM
-
Perform a two level nested internal iteration over this Stream and the supplied stream
- forEach3(Function<? super T, ? extends AnyM<R1>>, Function<? super T, Function<? super R1, ? extends AnyM<R2>>>, Function<? super T, Function<? super R1, Function<? super R2, Boolean>>>, Function<? super T, Function<? super R1, Function<? super R2, ? extends R>>>) - Method in interface com.aol.cyclops.monad.AnyM
-
Perform a three level nested internal iteration over this Stream and the supplied streams
- forEach3(Function<? super T, ? extends AnyM<R1>>, Function<? super T, Function<? super R1, ? extends AnyM<R2>>>, Function<? super T, Function<? super R1, Function<? super R2, ? extends R>>>) - Method in interface com.aol.cyclops.monad.AnyM
-
Perform a three level nested internal iteration over this AnyM and the supplied monads
- 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 interface com.aol.cyclops.sequence.SequenceM
-
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 interface com.aol.cyclops.sequence.SequenceM
-
Perform a three level nested internal iteration over this Stream and the supplied streams
- forEachEvent(Consumer<? super T>, Consumer<? super Throwable>, Runnable) - Method in interface com.aol.cyclops.sequence.reactivestreams.ReactiveStreamsTerminalFutureOperations
-
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(Consumer<? super T>, Consumer<? super Throwable>, Runnable) - Method in interface com.aol.cyclops.sequence.reactivestreams.ReactiveStreamsTerminalOperations
-
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 interface com.aol.cyclops.sequence.streamable.Streamable
-
- forEachWithError(Consumer<? super T>, Consumer<? super Throwable>) - Method in interface com.aol.cyclops.sequence.reactivestreams.ReactiveStreamsTerminalFutureOperations
-
Perform a forEach operation over the Stream capturing any elements and errors in the supplied consumers,
- forEachWithError(Consumer<? super T>, Consumer<? super Throwable>) - Method in interface com.aol.cyclops.sequence.reactivestreams.ReactiveStreamsTerminalOperations
-
Perform a forEach operation over the Stream capturing any elements and errors in the supplied consumers,
- forEachX(long, Consumer<? super T>) - Method in interface com.aol.cyclops.sequence.reactivestreams.ReactiveStreamsTerminalFutureOperations
-
Perform a forEach operation over the Stream, without closing it, consuming only the specified number of elements from
the Stream, at this time.
- forEachX(long, Consumer<? super T>) - Method in interface com.aol.cyclops.sequence.reactivestreams.ReactiveStreamsTerminalOperations
-
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 interface com.aol.cyclops.sequence.reactivestreams.ReactiveStreamsTerminalFutureOperations
-
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(long, Consumer<? super T>, Consumer<? super Throwable>, Runnable) - Method in interface com.aol.cyclops.sequence.reactivestreams.ReactiveStreamsTerminalOperations
-
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 interface com.aol.cyclops.sequence.reactivestreams.ReactiveStreamsTerminalFutureOperations
-
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 interface com.aol.cyclops.sequence.reactivestreams.ReactiveStreamsTerminalOperations
-
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.
- fromArray(T...) - Static method in interface com.aol.cyclops.monad.AnyM
-
Create an AnyM wrapping a Stream of the supplied data
- fromCollection(Collection<T>) - Static method in interface com.aol.cyclops.monad.AnyM
-
Create an AnyM instance that wraps a Collection
- fromCompletableFuture(CompletableFuture<T>) - Static method in interface com.aol.cyclops.monad.AnyM
-
Create an AnyM instance that wraps a CompletableFuture
- fromDoubleStream(DoubleStream) - Static method in interface com.aol.cyclops.monad.AnyM
-
Create an AnyM instance that wraps an DoubleStream
- fromDoubleStream(DoubleStream) - Static method in interface com.aol.cyclops.sequence.SequenceM
-
Construct a Sequence from a Stream
- fromDoubleStream(DoubleStream) - Static method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Construct a Sequence from a Stream
- fromFile(File) - Static method in interface com.aol.cyclops.monad.AnyM
-
Create an AnyM instance that wraps an textual Stream from a file
- fromIntStream(IntStream) - Static method in interface com.aol.cyclops.monad.AnyM
-
Create an AnyM instance that wraps an IntStream
- fromIntStream(IntStream) - Static method in interface com.aol.cyclops.sequence.SequenceM
-
Construct a Sequence from a Stream
- fromIntStream(IntStream) - Static method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Construct a Sequence from a Stream
- fromIterable(Iterable<T>) - Static method in interface com.aol.cyclops.monad.AnyM
-
Create an AnyM instance that wraps an Iterable
- fromIterable(Iterable<T>) - Static method in interface com.aol.cyclops.sequence.SequenceM
-
Construct a Sequence from an Iterable
- fromIterable(Iterable<T>) - Static method in class com.aol.cyclops.sequence.streamable.AsStreamable
-
- fromIterable(Iterable<T>) - Static method in interface com.aol.cyclops.sequence.streamable.Streamable
-
(Lazily) Construct a Streamable from an Iterable.
- fromIterator(Iterator<T>) - Static method in interface com.aol.cyclops.sequence.SequenceM
-
Construct a Sequence from an Iterator
- fromList(List<T>) - Static method in interface com.aol.cyclops.monad.AnyM
-
Create an AnyM from a List
This AnyM will convert the List to a Stream under the covers, but will rematerialize the Stream as List
if wrap() is called
- fromList(List<T>) - Static method in interface com.aol.cyclops.sequence.SequenceM
-
Construct a Sequence from a List (prefer this method if the source is a list,
as it allows more efficient Stream reversal).
- fromList(List<T>) - Static method in interface com.aol.cyclops.sequence.streamable.Streamable
-
- fromLongStream(LongStream) - Static method in interface com.aol.cyclops.monad.AnyM
-
Create an AnyM instance that wraps an LongStream
- fromLongStream(LongStream) - Static method in interface com.aol.cyclops.sequence.SequenceM
-
Construct a Sequence from a Stream
- fromLongStream(LongStream) - Static method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Construct a Sequence from a Stream
- fromObject(Object) - Static method in class com.aol.cyclops.sequence.streamable.AsStreamable
-
- fromOptional(Optional<T>) - Static method in interface com.aol.cyclops.monad.AnyM
-
Create an AnyM instance that wraps an Optional
- fromOptionalDouble(OptionalDouble) - Static method in interface com.aol.cyclops.monad.AnyM
-
Create an AnyM instance that wraps an OptionalDouble
- fromOptionalInt(OptionalInt) - Static method in interface com.aol.cyclops.monad.AnyM
-
Create an AnyM instance that wraps an OptionalInt
- fromOptionalLong(OptionalLong) - Static method in interface com.aol.cyclops.monad.AnyM
-
Create an AnyM instance that wraps an OptionalLong
- fromRange(int, int) - Static method in interface com.aol.cyclops.monad.AnyM
-
Construct an AnyM instance that wraps a range from start (inclusive) to end (exclusive) provided
The AnyM will contain a SequenceM over the spefied range
- fromRangeLong(long, long) - Static method in interface com.aol.cyclops.monad.AnyM
-
Construct an AnyM instance that wraps a range from start (inclusive) to end (exclusive) provided
The AnyM will contain a SequenceM over the spefied range
- fromSet(Set<T>) - Static method in interface com.aol.cyclops.monad.AnyM
-
Create an AnyM from a Set
This AnyM will convert the Set to a Stream under the covers, but will rematerialize the Stream as Set
if wrap() is called
- fromStream(Stream<T>) - Static method in interface com.aol.cyclops.monad.AnyM
-
Create an AnyM instance that wraps a Stream
- fromStream(Stream<T>) - Static method in interface com.aol.cyclops.sequence.SequenceM
-
Construct a Sequence from a Stream
- fromStream(Stream<T>) - Static method in class com.aol.cyclops.sequence.streamable.AsStreamable
-
- fromStream(Stream<T>) - Static method in interface com.aol.cyclops.sequence.streamable.Streamable
-
(Lazily) Construct a Streamable from a Stream.
- fromStreamable(ToStream<T>) - Static method in interface com.aol.cyclops.monad.AnyM
-
Wrap a Streamable inside an AnyM
- fromURL(URL) - Static method in interface com.aol.cyclops.monad.AnyM
-
Create an AnyM instance that wraps an textual Stream from a URL
- FutureOperations<T> - Interface in com.aol.cyclops.sequence.future
-
- futureOperations(Executor) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Access asynchronous terminal operations (each returns a Future)
- futureOperations(Executor) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Access asynchronous terminal operations (each returns a Future)
- lastdayOffset - Variable in class com.aol.cyclops.scheduling.util.cron.CronExpression
-
- lastdayOfMonth - Variable in class com.aol.cyclops.scheduling.util.cron.CronExpression
-
- lastdayOfWeek - Variable in class com.aol.cyclops.scheduling.util.cron.CronExpression
-
- lastValue() - Method in interface com.aol.cyclops.sequence.future.FutureOperations
-
- leftOuterJoin(Stream<U>, BiPredicate<T, U>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
- leftOuterJoin(Streamable<U>, BiPredicate<T, U>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
- liftAndBind(Function<? super T, ?>) - Method in interface com.aol.cyclops.monad.AnyM
-
Perform a bind operation (@see #bind) but also lift the return value into a Monad using configured
MonadicConverters
Note the modified javaslang monad laws are not applied during the looser typed bind operation
The modification being used to work around the limits of the Java type system.
- liftM(Function<U, R>) - Static method in interface com.aol.cyclops.monad.AnyM
-
Lift a function so it accepts an AnyM and returns an AnyM (any monad)
AnyM view simplifies type related challenges.
- liftM2(BiFunction<U1, U2, R>) - Static method in interface com.aol.cyclops.monad.AnyM
-
Lift a function so it accepts a Monad and returns a Monad (simplex view of a wrapped Monad)
AnyM view simplifies type related challenges.
- liftM2(Function<U1, Function<U2, R>>) - Static method in interface com.aol.cyclops.monad.AnyM
-
Lift a Curried Function into Monadic form
- liftM3(Function3<U1, U2, U3, R>) - Static method in interface com.aol.cyclops.monad.AnyM
-
Lift a jOOλ Function3 into Monadic form.
- liftM3(Function<U1, Function<U2, Function<U3, R>>>) - Static method in interface com.aol.cyclops.monad.AnyM
-
Lift a Curried Function into Monadic form
- liftM4(Function4<U1, U2, U3, U4, R>) - Static method in interface com.aol.cyclops.monad.AnyM
-
Lift a jOOλ Function4 into Monadic form.
- liftM4(Function<U1, Function<U2, Function<U3, Function<U4, R>>>>) - Static method in interface com.aol.cyclops.monad.AnyM
-
Lift a Curried Function into Monadic form
- liftM5(Function5<U1, U2, U3, U4, U5, R>) - Static method in interface com.aol.cyclops.monad.AnyM
-
Lift a jOOλ Function5 (5 parameters) into Monadic form
- liftM5(Function<U1, Function<U2, Function<U3, Function<U4, Function<U5, R>>>>>) - Static method in interface com.aol.cyclops.monad.AnyM
-
Lift a Curried Function (5 levels a->b->c->d->e->fn.apply(a,b,c,d,e) )
into Monadic form
- limit(long) - Method in interface com.aol.cyclops.sequence.SequenceM
-
assertThat(SequenceM.of(4,3,6,7).limit(2).toList(),equalTo(Arrays.asList(4,3));
- limit(long, TimeUnit) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Return all elements until specified time period has elapsed
- limit(long) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
assertThat(Streamable.of(4,3,6,7).limit(2).toList(),equalTo(Arrays.asList(4,3));
- limit(long, TimeUnit) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Return all elements until specified time period has elapsed
- limitLast(int) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Limit results to the last x elements in a SequenceM
- limitLast(int) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Limit results to the last x elements in a Streamable
- limitUntil(Predicate<? super T>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Take elements from the Stream until the predicate returns true, after which all elements are excluded.
- limitUntil(Predicate<? super T>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
assertThat(Streamable.of(4,3,6,7).limitUntil(i->i==6).toList(),equalTo(Arrays.asList(4,3)));
- limitWhile(Predicate<? super T>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Take elements from the Stream while the predicate holds, once the predicate returns false all subsequent elements are excluded
- limitWhile(Predicate<? super T>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
assertThat(Streamable.of(4,3,6,7).sorted().limitWhile(i->i<6).toList(),equalTo(Arrays.asList(3,4)));
- listFromCollection(Iterable<Collection<T>>) - Static method in interface com.aol.cyclops.monad.AnyM
-
Take an iterable containing Streamables and convert them into a List of AnyMs
e.g.
- listFromCompletableFuture(Iterable<CompletableFuture<T>>) - Static method in interface com.aol.cyclops.monad.AnyM
-
Take an iterable containing CompletableFutures and convert them into a List of AnyMs
e.g.
- listFromIterable(Iterable<Iterable<T>>) - Static method in interface com.aol.cyclops.monad.AnyM
-
Take an iterable containing Streamables and convert them into a List of AnyMs
e.g.
- listFromIterator(Iterable<Iterator<T>>) - Static method in interface com.aol.cyclops.monad.AnyM
-
Take an iterable containing Streamables and convert them into a List of AnyMs
e.g.
- listFromOptional(Iterable<Optional<T>>) - Static method in interface com.aol.cyclops.monad.AnyM
-
Take an iterable containing Optionals and convert them into a List of AnyMs
e.g.
- listFromStream(Iterable<Stream<T>>) - Static method in interface com.aol.cyclops.monad.AnyM
-
Take an iterable containing Streams and convert them into a List of AnyMs
e.g.
- listFromStreamable(Iterable<Streamable<T>>) - Static method in interface com.aol.cyclops.monad.AnyM
-
Take an iterable containing Streamables and convert them into a List of AnyMs
e.g.
- loadSubscriber() - Static method in class com.aol.cyclops.sequence.reactivestreams.ReactiveStreamsLoader
-
- LongOperators<T> - Interface in com.aol.cyclops.sequence.future
-
- range(int, int) - Static method in interface com.aol.cyclops.sequence.SequenceM
-
Create an efficiently reversable Sequence that produces the integers between start
and end
- range(int, int) - Static method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Create an efficiently reversable Sequence that produces the integers between start
and end
- rangeLong(long, long) - Static method in interface com.aol.cyclops.sequence.SequenceM
-
Create an efficiently reversable Sequence that produces the integers between start
and end
- rangeLong(long, long) - Static method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Create an efficiently reversable Sequence that produces the integers between start
and end
- ReactiveStreamsLoader - Class in com.aol.cyclops.sequence.reactivestreams
-
- ReactiveStreamsLoader() - Constructor for class com.aol.cyclops.sequence.reactivestreams.ReactiveStreamsLoader
-
- ReactiveStreamsPublisher<T> - Interface in com.aol.cyclops.sequence.reactivestreams
-
- ReactiveStreamsSubscriber<T> - Interface in com.aol.cyclops.sequence.reactivestreams
-
- ReactiveStreamsTerminalFutureOperations<T> - Interface in com.aol.cyclops.sequence.reactivestreams
-
Interface for reactive-streams based terminal operations, requires simple-react to be on the classpath.
- ReactiveStreamsTerminalOperations<T> - Interface in com.aol.cyclops.sequence.reactivestreams
-
Interface for reactive-streams based terminal operations, requires simple-react to be on the classpath.
- ReactiveTask - Class in com.aol.cyclops.sequence.reactivestreams
-
Class that represents an active reactive-streams task
- ReactiveTask() - Constructor for class com.aol.cyclops.sequence.reactivestreams.ReactiveTask
-
- recover(Function<Throwable, ? extends T>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Recover from an exception with an alternative value
- recover(Class<EX>, Function<EX, ? extends T>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Recover from a particular exception type
- recover(Function<Throwable, T>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Recover from an exception with an alternative value
- recover(Class<EX>, Function<EX, T>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Recover from a particular exception type
- reduce(U, BiFunction<U, ? super T, U>, BinaryOperator<U>) - Method in interface com.aol.cyclops.sequence.future.FutureOperations
-
Asynchronously perform a Stream reduction
- reduce(BinaryOperator<T>) - Method in interface com.aol.cyclops.sequence.future.FutureOperations
-
Asynchronously perform a Stream reduction
- reduce(T, BinaryOperator<T>) - Method in interface com.aol.cyclops.sequence.future.FutureOperations
-
Asynchronously perform a Stream reduction
- reduce(Stream<T>) - Method in interface com.aol.cyclops.sequence.Monoid
-
- reduce(Monoid<T>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
SequenceM.of("hello","2","world","4").reduce(Reducers.toString(","));
//hello,2,world,4
- reduce(BinaryOperator<T>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
- reduce(T, BinaryOperator<T>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
- reduce(U, BiFunction<U, ? super T, U>, BinaryOperator<U>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
- reduce(Stream<? extends Monoid<T>>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
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 streamedMonad() first.
- reduce(Iterable<Monoid<T>>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
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 streamedMonad() first.
- reduce(Monoid<T>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Streamable.of("hello","2","world","4").reduce(Reducers.toString(","));
//hello,2,world,4
- reduce(BinaryOperator<T>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
- reduce(T, BinaryOperator<T>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
- reduce(U, BiFunction<U, ? super T, U>, BinaryOperator<U>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
- reduce(Stream<Monoid<T>>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
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 streamedMonad() first.
- reduce(Iterable<Monoid<T>>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
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 streamedMonad() first.
- reduceM(Monoid<AnyM<T>>) - Method in interface com.aol.cyclops.monad.AnyM
-
Perform a reduction where NT is a (native) Monad type
e.g.
- ReduceM<T> - Interface in com.aol.cyclops.monad
-
- reduceMCompletableFuture(Monoid<CompletableFuture<T>>) - Method in interface com.aol.cyclops.monad.ReduceM
-
Perform a reduction where NT is a (native) Monad type
e.g.
- reduceMIterable(Monoid<Iterable<T>>) - Method in interface com.aol.cyclops.monad.ReduceM
-
Perform a reduction where NT is a (native) Monad type
e.g.
- reduceMOptional(Monoid<Optional<T>>) - Method in interface com.aol.cyclops.monad.ReduceM
-
Perform a reduction where NT is a (native) Monad type
e.g.
- reduceMStream(Monoid<Stream<T>>) - Method in interface com.aol.cyclops.monad.ReduceM
-
Perform a reduction where NT is a (native) Monad type
e.g.
- reduceMStreamable(Monoid<Streamable<T>>) - Method in interface com.aol.cyclops.monad.ReduceM
-
Perform a reduction where NT is a (native) Monad type
e.g.
- reducer() - Method in interface com.aol.cyclops.sequence.Monoid
-
- Reducers - Class in com.aol.cyclops.sequence
-
- Reducers() - Constructor for class com.aol.cyclops.sequence.Reducers
-
- remove(T) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Remove all occurances of the specified element from the SequenceM
- remove(T) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Remove all occurances of the specified element from the SequenceM
- replicateM(int) - Method in interface com.aol.cyclops.monad.AnyM
-
Replicate given Monad
- request(long) - Method in class com.aol.cyclops.sequence.reactivestreams.ReactiveTask
-
- requestAll() - Method in class com.aol.cyclops.sequence.reactivestreams.ReactiveTask
-
Request all elements to be processed from the processing Stream
- requestAllAsync() - Method in class com.aol.cyclops.sequence.reactivestreams.ReactiveTask
-
Request all elements to be processed asynchronously in the processing stream
- requestAsync(long) - Method in class com.aol.cyclops.sequence.reactivestreams.ReactiveTask
-
Asyncrhonously request more elements from the Stream
- retry(Function<? super T, ? extends R>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Retry a transformation if it fails.
- retry(Function<T, R>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Retry a transformation if it fails.
- reveresedSequenceM() - Method in interface com.aol.cyclops.sequence.streamable.ToStream
-
- reveresedStream() - Method in interface com.aol.cyclops.sequence.streamable.ToStream
-
- ReversableSpliterator - Interface in com.aol.cyclops.sequence.spliterators
-
- reverse() - Method in interface com.aol.cyclops.sequence.SequenceM
-
- reverse(Stream<U>) - Static method in class com.aol.cyclops.sequence.SeqUtils
-
Reverse a Stream
- reverse() - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
- ReversedIterator<U> - Class in com.aol.cyclops.sequence
-
- ReversedIterator() - Constructor for class com.aol.cyclops.sequence.ReversedIterator
-
- reversedIterator() - Method in class com.aol.cyclops.sequence.ReversedIterator
-
- reversedListOf(List<T>) - Static method in interface com.aol.cyclops.sequence.SequenceM
-
Construct a Reveresed Sequence from the provided elements
Can be reversed (again) efficiently
- reversedListOf(List<T>) - Static method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Construct a Reveresed Sequence from the provided elements
Can be reversed (again) efficiently
- reversedOf(T...) - Static method in interface com.aol.cyclops.sequence.SequenceM
-
Construct a Reveresed Sequence from the provided elements
Can be reversed (again) efficiently
- reversedOf(T...) - Static method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Construct a Reveresed Sequence from the provided elements
Can be reversed (again) efficiently
- reversedStream(List<U>) - Static method in class com.aol.cyclops.sequence.SeqUtils
-
Create a reversed Stream from a List
- ReversingArraySpliterator<T> - Class in com.aol.cyclops.sequence.spliterators
-
- ReversingArraySpliterator() - Constructor for class com.aol.cyclops.sequence.spliterators.ReversingArraySpliterator
-
- ReversingListSpliterator<T> - Class in com.aol.cyclops.sequence.spliterators
-
- ReversingListSpliterator(List<T>, boolean) - Constructor for class com.aol.cyclops.sequence.spliterators.ReversingListSpliterator
-
- ReversingRangeIntSpliterator - Class in com.aol.cyclops.sequence.spliterators
-
- ReversingRangeIntSpliterator() - Constructor for class com.aol.cyclops.sequence.spliterators.ReversingRangeIntSpliterator
-
- ReversingRangeLongSpliterator - Class in com.aol.cyclops.sequence.spliterators
-
- ReversingRangeLongSpliterator() - Constructor for class com.aol.cyclops.sequence.spliterators.ReversingRangeLongSpliterator
-
- rightOuterJoin(Stream<U>, BiPredicate<T, U>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
- rightOuterJoin(Streamable<U>, BiPredicate<T, U>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
- scanLeft(Monoid<T>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Scan left using supplied Monoid
- scanLeft(U, BiFunction<U, ? super T, U>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Scan left
- scanLeft(Monoid<T>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Scan left using supplied Monoid
- scanLeft(U, BiFunction<U, ? super T, U>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Scan left
- scanRight(Monoid<T>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Scan right
- scanRight(U, BiFunction<? super T, U, U>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Scan right
- scanRight(Monoid<T>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Scan right
- scanRight(U, BiFunction<? super T, U, U>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Scan right
- schedule(String, ScheduledExecutorService) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Execute this Stream on a schedule
- scheduleFixedDelay(long, ScheduledExecutorService) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Execute this Stream on a schedule
- scheduleFixedRate(long, ScheduledExecutorService) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Execute this Stream on a schedule
- SECOND - Static variable in class com.aol.cyclops.scheduling.util.cron.CronExpression
-
- seconds - Variable in class com.aol.cyclops.scheduling.util.cron.CronExpression
-
- sequence(Collection<AnyM<T1>>) - Static method in interface com.aol.cyclops.monad.AnyM
-
Convert a Collection of Monads to a Monad with a List
- sequence(Stream<AnyM<T1>>) - Static method in interface com.aol.cyclops.monad.AnyM
-
Convert a Stream of Monads to a Monad with a List
- sequence(Collection<AnyM<T1>>) - Method in interface com.aol.cyclops.monad.AnyMFunctions
-
- sequence(Stream<AnyM<T1>>) - Method in interface com.aol.cyclops.monad.AnyMFunctions
-
- sequenceM() - Method in interface com.aol.cyclops.sequence.reactivestreams.CyclopsSubscriber
-
- SequenceM<T> - Interface in com.aol.cyclops.sequence
-
- sequenceM(Stream<T>, ReversableSpliterator) - Method in interface com.aol.cyclops.sequence.SequenceMFactory
-
- sequenceM() - Method in interface com.aol.cyclops.sequence.streamable.ToStream
-
- SequenceMFactory - Interface in com.aol.cyclops.sequence
-
- SequenceMFactory.MetaFactory - Class in com.aol.cyclops.sequence
-
- sequential() - Method in interface com.aol.cyclops.sequence.SequenceM
-
- SeqUtils - Class in com.aol.cyclops.sequence
-
- SeqUtils() - Constructor for class com.aol.cyclops.sequence.SeqUtils
-
- setCalendarHour(Calendar, int) - Method in class com.aol.cyclops.scheduling.util.cron.CronExpression
-
Advance the calendar to the particular hour paying particular attention
to daylight saving problems.
- setReverse(boolean) - Method in interface com.aol.cyclops.sequence.spliterators.ReversableSpliterator
-
- setTimeZone(TimeZone) - Method in class com.aol.cyclops.scheduling.util.cron.CronExpression
-
Sets the time zone for which this CronExpression
will be resolved.
- shuffle() - Method in interface com.aol.cyclops.sequence.SequenceM
-
- shuffle(Random) - Method in interface com.aol.cyclops.sequence.SequenceM
-
- shuffle() - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
- shuffle(Random) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
- single() - Method in interface com.aol.cyclops.sequence.future.FutureOperations
-
- single(Predicate<T>) - Method in interface com.aol.cyclops.sequence.future.FutureOperations
-
- single() - Method in interface com.aol.cyclops.sequence.SequenceM
-
//1
SequenceM.of(1).single();
//UnsupportedOperationException
SequenceM.of().single();
//UnsupportedOperationException
SequenceM.of(1,2,3).single();
- single(Predicate<? super T>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
- single() - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
assertThat(Streamable.of(1).single(),equalTo(1));
- singleOptional() - Method in interface com.aol.cyclops.sequence.future.FutureOperations
-
- singleOptional() - Method in interface com.aol.cyclops.sequence.SequenceM
-
//Optional[1]
SequenceM.of(1).singleOptional();
//Optional.empty
SequenceM.of().singleOpional();
//Optional.empty
SequenceM.of(1,2,3).singleOptional();
- size() - Method in interface com.aol.cyclops.sequence.SequenceM
-
[equivalent to count]
- size() - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
[equivalent to count]
- skip(long) - Method in interface com.aol.cyclops.sequence.SequenceM
-
assertThat(SequenceM.of(4,3,6,7).skip(2).toList(),equalTo(Arrays.asList(6,7)));
- skip(long, TimeUnit) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Skip all elements until specified time period has passed
- skip(long) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
assertThat(Streamable.of(4,3,6,7).skip(2).toList(),equalTo(Arrays.asList(6,7)));
- skip(long, TimeUnit) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Skip all elements until specified time period has passed
- skipLast(int) - Method in interface com.aol.cyclops.sequence.SequenceM
-
assertThat(SequenceM.of(1,2,3,4,5)
.skipLast(2)
.collect(Collectors.toList()),equalTo(Arrays.asList(1,2,3)));
- skipLast(int) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
assertThat(Streamable.of(1,2,3,4,5)
.skipLast(2)
.collect(Collectors.toList()),equalTo(Arrays.asList(1,2,3)));
- skipUntil(Predicate<? super T>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Drop elements from the Stream until the predicate returns true, after which all elements are included
- skipUntil(Predicate<? super T>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
assertThat(Streamable.of(4,3,6,7).skipUntil(i->i==6).toList(),equalTo(Arrays.asList(6,7)));
- skipWhile(Predicate<? super T>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
SkipWhile drops elements from the Stream while the predicate holds, once the predicte returns true all subsequent elements are included *
- skipWhile(Predicate<? super T>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
assertThat(Streamable.of(4,3,6,7).sorted().skipWhile(i->i<6).toList(),equalTo(Arrays.asList(6,7)));
- skipWhiteSpace(int, String) - Method in class com.aol.cyclops.scheduling.util.cron.CronExpression
-
- slice(long, long) - Method in interface com.aol.cyclops.sequence.SequenceM
-
- slice(long, long) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
- sliding(int) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Create a sliding view over this Sequence
- sliding(int, int) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Create a sliding view over this Sequence
- sliding(int) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Create a sliding view over this Sequence
- sliding(int, int) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Create a sliding view over this Sequence
- sorted() - Method in interface com.aol.cyclops.sequence.SequenceM
-
assertThat(SequenceM.of(4,3,6,7)).sorted().toList(),equalTo(Arrays.asList(3,4,6,7)));
- sorted(Comparator<? super T>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
assertThat(SequenceM.of(4,3,6,7).sorted((a,b) -> b-a).toList(),equalTo(Arrays.asList(7,6,4,3)));
- sorted(Function<? super T, ? extends U>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
- sorted() - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
assertThat(Streamable.of(4,3,6,7)).sorted().toList(),equalTo(Arrays.asList(3,4,6,7)));
- sorted(Comparator<? super T>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
assertThat(Streamable.of(4,3,6,7).sorted((a,b) -> b-a).toList(),equalTo(Arrays.asList(7,6,4,3)));
- sorted(Function<? super T, ? extends U>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
- splitAt(int) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Split at supplied location
- splitAt(int) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Split at supplied location
- splitAtHead() - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Split this Streamable after the first element (if present)
- splitBy(Predicate<T>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Split stream at point where predicate no longer holds
- splitBy(Predicate<T>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Split stream at point where predicate no longer holds
- splitSequenceAtHead() - Method in interface com.aol.cyclops.sequence.SequenceM
-
Split a Stream at it's head (similar to headAndTail)
- startsWith(Iterable<T>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
assertTrue(SequenceM.of(1,2,3,4).startsWith(Arrays.asList(1,2,3)));
- startsWith(Iterator<T>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
assertTrue(SequenceM.of(1,2,3,4).startsWith(Arrays.asList(1,2,3).iterator()))
- startsWith(Iterable<T>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
assertTrue(Streamable.of(1,2,3,4).startsWith(Arrays.asList(1,2,3)));
- startsWith(Iterator<T>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
assertTrue(Streamable.of(1,2,3,4).startsWith(Arrays.asList(1,2,3).iterator()))
- storeExpressionVals(int, String, int) - Method in class com.aol.cyclops.scheduling.util.cron.CronExpression
-
- stream() - Method in interface com.aol.cyclops.monad.AnyM
-
- stream() - Method in class com.aol.cyclops.sequence.ReversedIterator
-
- stream() - Method in interface com.aol.cyclops.sequence.SequenceM
-
Convert this SequenceM into a Stream
- stream() - Method in interface com.aol.cyclops.sequence.streamable.ToStream
-
- Streamable<T> - Interface in com.aol.cyclops.sequence.streamable
-
Represents something that can generate a Stream, repeatedly
- StreamableImpl<T> - Class in com.aol.cyclops.sequence.streamable
-
- StreamableImpl() - Constructor for class com.aol.cyclops.sequence.streamable.StreamableImpl
-
- streamOf(T...) - Static method in interface com.aol.cyclops.monad.AnyM
-
Create an AnyM wrapping a Stream of the supplied data
Identical to fromArray, exists as it may appear functionally more obvious to users than fromArray (which fits the convention)
- subscribe(Stream<T>, Subscriber<? super T>) - Method in interface com.aol.cyclops.sequence.reactivestreams.ReactiveStreamsPublisher
-
- subscribe() - Method in interface com.aol.cyclops.sequence.reactivestreams.ReactiveStreamsSubscriber
-
- subscriber - Static variable in class com.aol.cyclops.sequence.reactivestreams.ReactiveStreamsLoader
-
- subscriber() - Static method in interface com.aol.cyclops.sequence.SequenceM
-
Create a subscriber that can listen to Reactive Streams (simple-react, RxJava
AkkaStreams, Kontraktor, QuadarStreams etc)
- subStream(int, int) - Method in interface com.aol.cyclops.sequence.SequenceM
-
Return a Stream with elements before the provided start index removed, and elements after the provided
end index removed
- subStream(int, int) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Return a Streamable with elements before the provided start index removed, and elements after the provided
end index removed
- sumDouble(ToDoubleFunction<T>) - Method in interface com.aol.cyclops.sequence.future.DoubleOperators
-
Perform an asynchronous sum operation
- sumInt(ToIntFunction<T>) - Method in interface com.aol.cyclops.sequence.future.IntOperators
-
Perform an asynchronous sum operation
- sumLong(ToLongFunction<T>) - Method in interface com.aol.cyclops.sequence.future.LongOperators
-
Perform an asynchronous sum operation
- summaryStatisticsDouble(ToDoubleFunction<T>) - Method in interface com.aol.cyclops.sequence.future.DoubleOperators
-
Perform an asynchronous summaryStatistics operation
- summaryStatisticsInt(ToIntFunction<T>) - Method in interface com.aol.cyclops.sequence.future.IntOperators
-
Perform an asynchronous summaryStatistics operation
- summaryStatisticsLong(ToLongFunction<T>) - Method in interface com.aol.cyclops.sequence.future.LongOperators
-
Perform an asynchronous summaryStatistics operation
- synchronizedFromIterable(Iterable<T>) - Static method in class com.aol.cyclops.sequence.streamable.AsStreamable
-
- synchronizedFromStream(Stream<T>) - Static method in class com.aol.cyclops.sequence.streamable.AsStreamable
-
- tail() - Method in class com.aol.cyclops.sequence.HeadAndTail
-
- tail() - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Streamable.of(1,2,3,4,5).tail()
//Streamable[2,3,4,5]
- tailStream() - Method in class com.aol.cyclops.sequence.HeadAndTail
-
- timestamp() - Method in interface com.aol.cyclops.sequence.SequenceM
-
SequenceM.of(1,2,3,4,5)
.timestamp()
.forEach(System.out::println)
- timestamp() - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Streamable.of(1,2,3,4,5)
.timestamp()
.forEach(System.out::println)
- toArray(IntFunction<A[]>) - Method in interface com.aol.cyclops.sequence.future.FutureOperations
-
Asyncrhonously generate an Array
- toArray() - Method in interface com.aol.cyclops.sequence.future.FutureOperations
-
Asyncrhonously generate an Array
- toArray() - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
- toArray(IntFunction<A[]>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
- toCollection(Supplier<C>) - Method in interface com.aol.cyclops.sequence.future.FutureOperations
-
Asynchronously perform a Stream collection
- toCollection(Supplier<C>) - Method in interface com.aol.cyclops.sequence.SequenceM
-
- toCollection(Supplier<C>) - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Add the contents of this Stream to the mutable collection supplied by
the provided collectionFactory
- toCompletableFuture() - Method in interface com.aol.cyclops.monad.AnyM
-
- toCompletableFuture() - Method in interface com.aol.cyclops.sequence.SequenceM
-
CompletableFuture<List<String>> cf = SequenceM.of("hello","world")
.toCompletableFuture();
assertThat(cf.join(),equalTo(Arrays.asList("hello","world")));
- toCompletableFuture() - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
CompletableFuture<List<String>> cf = Streamable.of("hello","world")
.toCompletableFuture();
assertThat(cf.join(),equalTo(Arrays.asList("hello","world")));
- toConcurrentLazyCollection() - Method in interface com.aol.cyclops.sequence.SequenceM
-
Lazily converts this SequenceM into a Collection.
- toConcurrentLazyCollection(Stream<A>) - Static method in class com.aol.cyclops.sequence.SeqUtils
-
Lazily constructs a Collection from specified Stream.
- toConcurrentLazyCollection(Iterator<A>) - Static method in class com.aol.cyclops.sequence.SeqUtils
-
- toConcurrentLazyCollection() - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Lazily converts this Streamable into a Collection.
- toConcurrentLazyStreamable() - Method in interface com.aol.cyclops.sequence.SequenceM
-
Streamable<Integer> repeat = SequenceM.of(1,2,3,4,5,6)
.map(i->i+2)
.toConcurrentLazyStreamable();
assertThat(repeat.sequenceM().toList(),equalTo(Arrays.asList(2,4,6,8,10,12)));
assertThat(repeat.sequenceM().toList(),equalTo(Arrays.asList(2,4,6,8,10,12)));
- toCountDouble() - Static method in class com.aol.cyclops.sequence.Reducers
-
- toCountInt() - Static method in class com.aol.cyclops.sequence.Reducers
-
- toLazyCollection() - Method in interface com.aol.cyclops.sequence.SequenceM
-
Lazily converts this SequenceM into a Collection.
- toLazyCollection(Stream<A>) - Static method in class com.aol.cyclops.sequence.SeqUtils
-
Projects an immutable collection of this stream.
- toLazyCollection(Iterator<A>) - Static method in class com.aol.cyclops.sequence.SeqUtils
-
- toLazyCollection() - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Lazily converts this Streamable into a Collection.
- toList() - Method in interface com.aol.cyclops.monad.AnyM
-
Convert this monad into a List
- toList() - Method in interface com.aol.cyclops.sequence.future.FutureOperations
-
Asynchronously convert this Stream into a List
- toList() - Method in interface com.aol.cyclops.sequence.SequenceM
-
- toList() - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Streamable.of(1,2,3)
.toList();
//List[1,2,3]
- toOptional() - Method in interface com.aol.cyclops.monad.AnyM
-
- toOptional() - Method in interface com.aol.cyclops.sequence.SequenceM
-
Type safe unwrap
- toOptional() - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
Type safe unwrap
- toPMap() - Static method in class com.aol.cyclops.sequence.Reducers
-
- toPStack() - Static method in class com.aol.cyclops.sequence.Reducers
-
- toSequence(Function<T, Stream<NT>>) - Method in interface com.aol.cyclops.monad.AnyM
-
Sequence the contents of a Monad.
- toSequence() - Method in interface com.aol.cyclops.monad.AnyM
-
Optional<List<Integer>> into Stream<Integer>
- toSet() - Method in interface com.aol.cyclops.monad.AnyM
-
Convert this monad into a Set
- toSet() - Method in interface com.aol.cyclops.sequence.future.FutureOperations
-
Asynchronously convert this Stream into a List
- toSet() - Method in interface com.aol.cyclops.sequence.SequenceM
-
- toSet() - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
- toStream() - Method in interface com.aol.cyclops.sequence.SequenceM
-
Convert this SequenceM into a Stream
- ToStream<T> - Interface in com.aol.cyclops.sequence.streamable
-
- toStreamable() - Method in interface com.aol.cyclops.sequence.SequenceM
-
Streamable<Integer> repeat = SequenceM.of(1,2,3,4,5,6)
.map(i->i*2)
.toStreamable();
repeat.sequenceM().toList(); //Arrays.asList(2,4,6,8,10,12));
repeat.sequenceM().toList() //Arrays.asList(2,4,6,8,10,12));
- toString() - Method in interface com.aol.cyclops.monad.AnyM
-
- toString() - Method in class com.aol.cyclops.scheduling.util.cron.CronExpression
-
Returns the string representation of the CronExpression
- toString(String) - Static method in class com.aol.cyclops.sequence.Reducers
-
- toTotalDouble() - Static method in class com.aol.cyclops.sequence.Reducers
-
- toTotalInt() - Static method in class com.aol.cyclops.sequence.Reducers
-
- traverse(Collection<AnyM<T>>, Function<T, R>) - Static method in interface com.aol.cyclops.monad.AnyM
-
Convert a Collection of Monads to a Monad with a List applying the supplied function in the process
- traverse(Stream<AnyM<T>>, Function<T, R>) - Static method in interface com.aol.cyclops.monad.AnyM
-
Convert a Stream of Monads to a Monad with a List applying the supplied function in the process
- traverse(Collection<AnyM<T>>, Function<T, R>) - Method in interface com.aol.cyclops.monad.AnyMFunctions
-
- traverse(Stream<AnyM<T>>, Function<T, R>) - Method in interface com.aol.cyclops.monad.AnyMFunctions
-
- triplicate() - Method in interface com.aol.cyclops.sequence.SequenceM
-
Triplicates a Stream
Buffers intermediate values, leaders may change positions so a limit
can be safely applied to the leading stream.
- triplicate() - Method in interface com.aol.cyclops.sequence.streamable.Streamable
-
- tryAdvance(Consumer<? super T>) - Method in class com.aol.cyclops.sequence.spliterators.ReversingArraySpliterator
-
- tryAdvance(Consumer<? super T>) - Method in class com.aol.cyclops.sequence.spliterators.ReversingListSpliterator
-
- tryAdvance(IntConsumer) - Method in class com.aol.cyclops.sequence.spliterators.ReversingRangeIntSpliterator
-
- tryAdvance(LongConsumer) - Method in class com.aol.cyclops.sequence.spliterators.ReversingRangeLongSpliterator
-
- trySplit() - Method in class com.aol.cyclops.sequence.spliterators.ReversingArraySpliterator
-
- trySplit() - Method in class com.aol.cyclops.sequence.spliterators.ReversingListSpliterator
-
- trySplit() - Method in class com.aol.cyclops.sequence.spliterators.ReversingRangeIntSpliterator
-
- trySplit() - Method in class com.aol.cyclops.sequence.spliterators.ReversingRangeLongSpliterator
-