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

aggregate(AnyM<T>) - Method in interface com.aol.cyclops.monad.AnyM
Aggregate the contents of this Monad and the supplied Monad
aggregateUntyped(AnyM<?>) - Method in interface com.aol.cyclops.monad.AnyM
 
allMatch(Predicate<? super T>) - Method in interface com.aol.cyclops.sequence.future.FutureOperations
Perform an asynchronous All Match operation
allMatch(Predicate<? super T>) - Method in interface com.aol.cyclops.sequence.SequenceM
True if predicate matches all elements when Monad converted to a Stream
AnyM<T> - Interface in com.aol.cyclops.monad
Wrapper for Any Monad type
anyM() - Method in interface com.aol.cyclops.sequence.SequenceM
 
anyMatch(Predicate<? super T>) - Method in interface com.aol.cyclops.sequence.future.FutureOperations
Perform an asynchronous Any Match operation
anyMatch(Predicate<? super T>) - Method in interface com.aol.cyclops.sequence.SequenceM
True if a single element matches when Monad converted to a Stream
AnyMFactory - Interface in com.aol.cyclops.monad
 
AnyMFactory.MetaFactory - Class in com.aol.cyclops.monad
 
append(T...) - Method in interface com.aol.cyclops.sequence.SequenceM
Append values to the end of this SequenceM
appendStream(Stream<T>) - Method in interface com.aol.cyclops.sequence.SequenceM
Append Stream to this SequenceM
applyM(AnyM<Function<? super T, ? extends R>>) - Method in interface com.aol.cyclops.monad.AnyM
Apply function/s inside supplied Monad to data in current Monad e.g.
AsDecomposable - Class in com.aol.cyclops.objects
 
AsDecomposable() - Constructor for class com.aol.cyclops.objects.AsDecomposable
 
asDecomposable(Object) - Static method in class com.aol.cyclops.objects.AsDecomposable
Coerce / wrap an Object as a Decomposable instance This adds an unapply method that returns an interable over the supplied objects fields.
AsDecomposable.CoercedDecomposable - Class in com.aol.cyclops.objects
 
asSequence() - Method in interface com.aol.cyclops.monad.AnyM
Wrap this Monad's contents as a Sequence without disaggreating it.
AsStreamable - Class in com.aol.cyclops.sequence.streamable
 
AsStreamable() - Constructor for class com.aol.cyclops.sequence.streamable.AsStreamable
 
averageDouble(ToDoubleFunction<T>) - Method in interface com.aol.cyclops.sequence.future.DoubleOperators
Perform an asynchronous average operation
averageInt(ToIntFunction<T>) - Method in interface com.aol.cyclops.sequence.future.IntOperators
Perform an asynchronous average operation
averageLong(ToLongFunction<T>) - Method in interface com.aol.cyclops.sequence.future.LongOperators
Perform an asynchronous average operation

B

batchBySize(int) - Method in interface com.aol.cyclops.sequence.SequenceM
Batch elements in a Stream by size into Lists
batchBySize(int, Supplier<C>) - Method in interface com.aol.cyclops.sequence.SequenceM
Batch elements in a Stream by size into a collection created by the supplied factory
batchBySizeAndTime(int, long, TimeUnit) - Method in interface com.aol.cyclops.sequence.SequenceM
Batch elements by size into a List
batchBySizeAndTime(int, long, TimeUnit, Supplier<C>) - Method in interface com.aol.cyclops.sequence.SequenceM
Batch elements by size into a collection created by the supplied factory
batchByTime(long, TimeUnit) - Method in interface com.aol.cyclops.sequence.SequenceM
Batch elements in a Stream by time period
batchByTime(long, TimeUnit, Supplier<C>) - Method in interface com.aol.cyclops.sequence.SequenceM
Batch elements by time into a collection created by the supplied factory
batchUntil(Predicate<T>) - Method in interface com.aol.cyclops.sequence.SequenceM
Create a SequenceM batched by List, where each batch is populated until the predicate holds
batchUntil(Predicate<T>, Supplier<C>) - Method in interface com.aol.cyclops.sequence.SequenceM
Create a SequenceM batched by a Collection, where each batch is populated until the predicate holds
batchWhile(Predicate<T>) - Method in interface com.aol.cyclops.sequence.SequenceM
Create a SequenceM batched by List, where each batch is populated while the predicate holds
batchWhile(Predicate<T>, Supplier<C>) - Method in interface com.aol.cyclops.sequence.SequenceM
Create a SequenceM batched by a Collection, where each batch is populated while the predicate holds
bind(Function<? super T, ?>) - Method in interface com.aol.cyclops.monad.AnyM
Perform a looser typed flatMap / bind operation The return type can be another type other than the host type

C

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.
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.ReversingRangeSpliterator
 
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
collectIterable(Iterable<Collector>) - Method in interface com.aol.cyclops.sequence.SequenceM
Apply multiple Collectors, simultaneously to a Stream
collectStream(Stream<Collector>) - Method in interface com.aol.cyclops.sequence.SequenceM
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.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
 
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
 
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
 
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.ReversingRangeSpliterator
 
count() - Method in interface com.aol.cyclops.sequence.future.FutureOperations
Asynchronously perform a Stream count
crossJoin(Stream<U>) - Method in interface com.aol.cyclops.sequence.SequenceM
 
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
Convert to a Stream, repeating the resulting structure specified times and lifting all values to the specified Monad type
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
cycleUntil(Predicate<? super T>) - Method in interface com.aol.cyclops.sequence.SequenceM
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
CyclopsSubscriber<T> - Interface in com.aol.cyclops.sequence.reactivestreams
 

D

debounce(long, TimeUnit) - Method in interface com.aol.cyclops.sequence.SequenceM
Allow one element through per time period, drop all other elements in that time period
Decomposable - Interface in com.aol.cyclops.objects
trait / interface for Value Objects / Case Classes / Algebraic Data Types unapply uses Reflection by default, but clients can override it if neccessary
deleteBetween(int, int) - Method in interface com.aol.cyclops.sequence.SequenceM
Delete elements between given indexes in a Stream
distinct() - Method in interface com.aol.cyclops.sequence.SequenceM
 
distinct(Function<? super T, ? extends U>) - Method in interface com.aol.cyclops.sequence.SequenceM
 
DoubleOperators<T> - Interface in com.aol.cyclops.sequence.future
 
duplicateSequence() - Method in interface com.aol.cyclops.sequence.SequenceM
Duplicate a Stream, buffers intermediate values, leaders may change positions so a limit can be safely applied to the leading stream.

E

elapsed() - Method in interface com.aol.cyclops.sequence.SequenceM
SequenceM.of(1,2,3,4,5) .elapsed() .forEach(System.out::println);
elementAt(long) - Method in interface com.aol.cyclops.sequence.SequenceM
Return the elementAt index or Optional.empty
empty() - Method in interface com.aol.cyclops.monad.AnyM
 
empty() - Static method in interface com.aol.cyclops.sequence.streamable.Streamable
 
endsWith(Iterable<T>) - Method in interface com.aol.cyclops.sequence.SequenceM
assertTrue(SequenceM.of(1,2,3,4,5,6) .endsWith(Arrays.asList(5,6)));
endsWith(Stream<T>) - Method in interface com.aol.cyclops.sequence.SequenceM
assertTrue(SequenceM.of(1,2,3,4,5,6) .endsWith(Stream.of(5,6)));
estimateSize() - Method in class com.aol.cyclops.sequence.spliterators.ReversingArraySpliterator
 
estimateSize() - Method in class com.aol.cyclops.sequence.spliterators.ReversingListSpliterator
 
estimateSize() - Method in class com.aol.cyclops.sequence.spliterators.ReversingRangeSpliterator
 

F

filter(Predicate<? super T>) - Method in interface com.aol.cyclops.monad.AnyM
 
filter(Predicate<? super T>) - Method in interface com.aol.cyclops.sequence.SequenceM
 
findAny() - Method in interface com.aol.cyclops.sequence.future.FutureOperations
Perform an asynchronous findAny operation
findAny() - Method in interface com.aol.cyclops.sequence.SequenceM
 
findFirst() - Method in interface com.aol.cyclops.sequence.future.FutureOperations
Perform an asynchronous findAny operation
findFirst() - Method in interface com.aol.cyclops.sequence.SequenceM
 
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"));
fixedDelay(long, TimeUnit) - Method in interface com.aol.cyclops.sequence.SequenceM
emit elements after a fixed delay
flatMap(Function<? super T, AnyM<? extends R>>) - Method in interface com.aol.cyclops.monad.AnyM
flatMap operation
flatMap(Function<? super T, ? extends Stream<? extends R>>) - Method in interface com.aol.cyclops.sequence.SequenceM
flatMap operation
flatMapAnyM(Function<? super T, AnyM<? extends R>>) - Method in interface com.aol.cyclops.sequence.SequenceM
Allows flatMap return type to be any Monad type
flatMapBufferedReader(Function<? super T, BufferedReader>) - Method in interface com.aol.cyclops.monad.AnyM
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
flatMapCharSequence(Function<? super T, CharSequence>) - Method in interface com.aol.cyclops.monad.AnyM
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.
flatMapCollection(Function<? super T, Collection<? extends R>>) - Method in interface com.aol.cyclops.monad.AnyM
flatMapping to a Stream will result in the Stream being converted to a List, if the host Monad type is not a Stream (or Stream like type).
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
flatMapCompletableFuture(Function<? super T, CompletableFuture<? extends R>>) - Method in interface com.aol.cyclops.monad.AnyM
 
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)
flatMapFile(Function<? super T, File>) - Method in interface com.aol.cyclops.monad.AnyM
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.
flatMapOptional(Function<? super T, Optional<? extends R>>) - Method in interface com.aol.cyclops.monad.AnyM
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
flatMapSequenceM(Function<? super T, SequenceM<? extends R>>) - Method in interface com.aol.cyclops.monad.AnyM
 
flatMapStream(Function<? super T, BaseStream<? extends R, ?>>) - Method in interface com.aol.cyclops.monad.AnyM
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
flatMapStreamable(Function<? super T, Streamable<R>>) - Method in interface com.aol.cyclops.monad.AnyM
Convenience method to allow method reference support, when flatMap return type is a Streamable
flatMapURL(Function<? super T, URL>) - Method in interface com.aol.cyclops.monad.AnyM
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
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
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
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
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
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
forEach(Consumer<T>) - Method in interface com.aol.cyclops.sequence.future.FutureOperations
 
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
 
fromCompletableFuture(CompletableFuture<T>) - Static method in interface com.aol.cyclops.monad.AnyM
 
fromDoubleStream(DoubleStream) - Static method in interface com.aol.cyclops.monad.AnyM
 
fromDoubleStream(DoubleStream) - Static method in interface com.aol.cyclops.sequence.SequenceM
Construct a Sequence from a Stream
fromFile(File) - Static method in interface com.aol.cyclops.monad.AnyM
 
fromIntStream(IntStream) - Static method in interface com.aol.cyclops.monad.AnyM
 
fromIntStream(IntStream) - Static method in interface com.aol.cyclops.sequence.SequenceM
Construct a Sequence from a Stream
fromIterable(Iterable<T>) - Static method in interface com.aol.cyclops.monad.AnyM
 
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.
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).
fromLongStream(LongStream) - Static method in interface com.aol.cyclops.monad.AnyM
 
fromLongStream(LongStream) - Static method in interface com.aol.cyclops.sequence.SequenceM
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
 
fromOptional(OptionalDouble) - Static method in interface com.aol.cyclops.monad.AnyM
 
fromOptional(OptionalLong) - Static method in interface com.aol.cyclops.monad.AnyM
 
fromOptional(OptionalInt) - Static method in interface com.aol.cyclops.monad.AnyM
 
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
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
 
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(Streamable<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
 
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)

G

generate(Supplier<T>) - Static method in interface com.aol.cyclops.sequence.SequenceM
 
get(long) - Method in interface com.aol.cyclops.sequence.SequenceM
Gets the element at index, and returns a Tuple containing the element (it must be present) and a lazy copy of the Sequence for further processing.
getStreamable() - Method in interface com.aol.cyclops.sequence.streamable.Streamable
 
getValue() - Method in class com.aol.cyclops.sequence.ReversedIterator
 
groupBy(Function<? super T, ? extends K>) - Method in interface com.aol.cyclops.sequence.future.FutureOperations
Perform an asyncrhonous groupBy operation
groupBy(Function<? super T, ? extends K>, Collector<? super T, A, D>) - Method in interface com.aol.cyclops.sequence.future.FutureOperations
Perform an asyncrhonous groupBy operation
groupBy(Function<? super T, ? extends K>, Supplier<M>, Collector<? super T, A, D>) - Method in interface com.aol.cyclops.sequence.future.FutureOperations
Perform an asyncrhonous groupBy operation
groupBy(Function<? super T, ? extends K>) - Method in interface com.aol.cyclops.sequence.SequenceM
Use classifier function to group elements in this Sequence into a Map
grouped(int) - Method in interface com.aol.cyclops.sequence.SequenceM
Group elements in a Stream

H

head() - Method in class com.aol.cyclops.sequence.HeadAndTail
 
HeadAndTail<T> - Class in com.aol.cyclops.sequence
 
HeadAndTail() - Constructor for class com.aol.cyclops.sequence.HeadAndTail
 
headAndTail() - Method in interface com.aol.cyclops.sequence.SequenceM
extract head and tail together, where head is expected to be present
headAndTailOptional() - Method in interface com.aol.cyclops.sequence.SequenceM
extract head and tail together, where no head or tail may be present
HotStream<T> - Interface in com.aol.cyclops.sequence
 
hotStream(Executor) - Method in interface com.aol.cyclops.sequence.SequenceM
Turns this SequenceM into a HotStream, a connectable Stream, being executed on a thread on the supplied executor, that is producing data

I

innerJoin(Stream<U>, BiPredicate<T, U>) - Method in interface com.aol.cyclops.sequence.SequenceM
 
insertAt(int, T...) - Method in interface com.aol.cyclops.sequence.SequenceM
Insert data into a stream at given position
insertStreamAt(int, Stream<T>) - Method in interface com.aol.cyclops.sequence.SequenceM
Insert a Stream into the middle of this stream at the specified position
instance - Static variable in interface com.aol.cyclops.monad.AnyMFactory
 
instance - Static variable in interface com.aol.cyclops.sequence.SequenceMFactory
 
intersperse(T) - Method in interface com.aol.cyclops.sequence.SequenceM
Returns a stream with a given value interspersed between any two values of this stream.
IntOperators<T> - Interface in com.aol.cyclops.sequence.future
 
invert() - Method in interface com.aol.cyclops.sequence.spliterators.ReversableSpliterator
 
invert() - Method in class com.aol.cyclops.sequence.spliterators.ReversingArraySpliterator
 
invert() - Method in class com.aol.cyclops.sequence.spliterators.ReversingListSpliterator
 
invert() - Method in class com.aol.cyclops.sequence.spliterators.ReversingRangeSpliterator
 
isReverse() - Method in interface com.aol.cyclops.sequence.spliterators.ReversableSpliterator
 
iterate(T, UnaryOperator<T>) - Static method in interface com.aol.cyclops.sequence.SequenceM
 
iterator() - Method in interface com.aol.cyclops.sequence.streamable.Streamable
 

J

jitter(long) - Method in interface com.aol.cyclops.sequence.SequenceM
Introduce a random jitter / time delay between the emission of elements
join(CharSequence) - Method in interface com.aol.cyclops.sequence.future.FutureOperations
 
join() - Method in interface com.aol.cyclops.sequence.future.FutureOperations
Perform an asynchronous join operation
join(CharSequence, CharSequence, CharSequence) - Method in interface com.aol.cyclops.sequence.future.FutureOperations
Perform an asynchronous join operation
join() - Method in interface com.aol.cyclops.sequence.SequenceM
assertEquals("123".length(),SequenceM.of(1, 2, 3).join().length());
join(String) - Method in interface com.aol.cyclops.sequence.SequenceM
assertEquals("1, 2, 3".length(), SequenceM.of(1, 2, 3).join(", ").length());
join(String, String, String) - Method in interface com.aol.cyclops.sequence.SequenceM
assertEquals("^1|2|3$".length(), of(1, 2, 3).join("|", "^", "$").length());

L

lastValue() - Method in interface com.aol.cyclops.sequence.future.FutureOperations
 
leftOuterJoin(Stream<U>, BiPredicate<T, U>) - Method in interface com.aol.cyclops.sequence.SequenceM
 
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
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
limitLast(int) - Method in interface com.aol.cyclops.sequence.SequenceM
Limit results to the last x elements in a SequenceM
limitUntil(Predicate<? super T>) - Method in interface com.aol.cyclops.sequence.SequenceM
assertThat(SequenceM.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
assertThat(SequenceM.of(4,3,6,7).sorted().limitWhile(i->i<6).toList(),equalTo(Arrays.asList(3,4)));
loadSubscriber() - Static method in class com.aol.cyclops.sequence.reactivestreams.ReactiveStreamsLoader
 
LongOperators<T> - Interface in com.aol.cyclops.sequence.future
 

M

map(Function<? super T, ? extends R>) - Method in interface com.aol.cyclops.monad.AnyM
 
map(Function<? super T, ? extends R>) - Method in interface com.aol.cyclops.sequence.SequenceM
 
mapReduce(Stream) - Method in interface com.aol.cyclops.sequence.Monoid
Map a given Stream to required type (via mapToType method), then reduce using this monoid Example of multiple reduction using multiple Monoids and PowerTuples
mapReduce(Monoid<R>) - Method in interface com.aol.cyclops.sequence.SequenceM
Attempt to map this Sequence to the same type as the supplied Monoid (Reducer) Then use Monoid to reduce values
mapReduce(Function<? super T, ? extends R>, Monoid<R>) - Method in interface com.aol.cyclops.sequence.SequenceM
Attempt to map this Monad to the same type as the supplied Monoid, using supplied function Then use Monoid to reduce values
mapToType(Stream) - Method in interface com.aol.cyclops.sequence.Monoid
 
max(Comparator<? super T>) - Method in interface com.aol.cyclops.sequence.future.FutureOperations
Perform an asyncrhonous min operation
max(Comparator<? super T>) - Method in interface com.aol.cyclops.sequence.SequenceM
 
maxBy(Function<T, U>) - Method in interface com.aol.cyclops.sequence.future.FutureOperations
Asynchronously capture the maximum value in this stream using the provided function
maxBy(Function<T, C>) - Method in interface com.aol.cyclops.sequence.SequenceM
Extract the maximum as determined by the supplied function
maxDouble(ToDoubleFunction<T>) - Method in interface com.aol.cyclops.sequence.future.DoubleOperators
Perform an asynchronous max operation
maxInt(ToIntFunction<T>) - Method in interface com.aol.cyclops.sequence.future.IntOperators
Perform an asynchronous max operation
maxLong(ToLongFunction<T>) - Method in interface com.aol.cyclops.sequence.future.LongOperators
Perform an asynchronous max operation
MetaFactory() - Constructor for class com.aol.cyclops.monad.AnyMFactory.MetaFactory
 
MetaFactory() - Constructor for class com.aol.cyclops.sequence.SequenceMFactory.MetaFactory
 
min(Comparator<? super T>) - Method in interface com.aol.cyclops.sequence.future.FutureOperations
Perform an asyncrhonous min operation
min(Comparator<? super T>) - Method in interface com.aol.cyclops.sequence.SequenceM
 
minBy(Function<T, U>) - Method in interface com.aol.cyclops.sequence.future.FutureOperations
Asynchronously capture the minimum value in this stream using the provided function
minBy(Function<T, C>) - Method in interface com.aol.cyclops.sequence.SequenceM
Extract the minimum as determined by supplied function
minDouble(ToDoubleFunction<T>) - Method in interface com.aol.cyclops.sequence.future.DoubleOperators
Perform an asynchronous min operation
minInt(ToIntFunction<T>) - Method in interface com.aol.cyclops.sequence.future.IntOperators
Perform an asynchronous min operation
minLong(ToLongFunction<T>) - Method in interface com.aol.cyclops.sequence.future.LongOperators
Perform an asynchronous min operation
monad() - Method in interface com.aol.cyclops.monad.AnyM
 
monad(Object) - Method in interface com.aol.cyclops.monad.AnyMFactory
 
Monoid<T> - Interface in com.aol.cyclops.sequence
An interoperability trait for Monoids Also inteded for use with Java 8 Streams (reduce method) Practically the method signature to reduce matches the Monoid interface Monoids could regrarded as immutable equivalents to JDK Collectors for Immutable Reduction

N

noneMatch(Predicate<? super T>) - Method in interface com.aol.cyclops.sequence.future.FutureOperations
Perform an asynchronous Any Match operation
noneMatch(Predicate<? super T>) - Method in interface com.aol.cyclops.sequence.SequenceM
 

O

of(Object) - Method in interface com.aol.cyclops.monad.AnyMFactory
 
of(T, Function<T, Function<T, T>>, Function<?, T>) - Static method in interface com.aol.cyclops.sequence.Monoid
 
of(T, Function<T, Function<T, T>>) - Static method in interface com.aol.cyclops.sequence.Monoid
 
of(T, BiFunction<T, T, T>) - Static method in interface com.aol.cyclops.sequence.Monoid
 
of(T...) - Static method in interface com.aol.cyclops.sequence.SequenceM
Create an efficiently reversable Sequence from the provided elements
of(T...) - Static method in interface com.aol.cyclops.sequence.streamable.Streamable
Construct a Streamable that returns a Stream
ofConvertable(Object) - Static method in interface com.aol.cyclops.monad.AnyM
Take the supplied object and always attempt to convert it to a Monad type
ofMonad(Object) - Static method in interface com.aol.cyclops.monad.AnyM
Take the supplied object and wrap it inside an AnyM - must be a supported monad type already
ofNullable(Object) - Static method in interface com.aol.cyclops.monad.AnyM
 
ofType(Class<U>) - Method in interface com.aol.cyclops.sequence.SequenceM
Keep only those elements in a stream that are of a given type.
onClose(Runnable) - Method in interface com.aol.cyclops.sequence.SequenceM
 
onEmpty(T) - Method in interface com.aol.cyclops.sequence.SequenceM
 
onEmptyGet(Supplier<T>) - Method in interface com.aol.cyclops.sequence.SequenceM
 
onEmptySwitch(Supplier<Stream<T>>) - Method in interface com.aol.cyclops.sequence.SequenceM
If this SequenceM is empty replace it with a another Stream
onEmptyThrow(Supplier<X>) - Method in interface com.aol.cyclops.sequence.SequenceM
 
onePer(long, TimeUnit) - Method in interface com.aol.cyclops.sequence.SequenceM
emit one element per time period

P

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

Q

quadruplicate() - Method in interface com.aol.cyclops.sequence.SequenceM
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

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
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
 
recover(Function<Throwable, T>) - Method in interface com.aol.cyclops.sequence.SequenceM
Recover from an exception with an alternative value
recover(Class<EX>, Function<EX, T>) - Method in interface com.aol.cyclops.sequence.SequenceM
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<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.
reduceM(Monoid<AnyM<T>>) - Method in interface com.aol.cyclops.monad.AnyM
 
reduceMCompletableFuture(Monoid<CompletableFuture<T>>) - Method in interface com.aol.cyclops.monad.AnyM
 
reduceMOptional(Monoid<Optional<T>>) - Method in interface com.aol.cyclops.monad.AnyM
Perform a reduction where NT is a (native) Monad type e.g.
reduceMStream(Monoid<Stream<T>>) - Method in interface com.aol.cyclops.monad.AnyM
 
reduceMStreamable(Monoid<Streamable<T>>) - Method in interface com.aol.cyclops.monad.AnyM
 
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
 
replicateM(int) - Method in interface com.aol.cyclops.monad.AnyM
Replicate given Monad
retry(Function<T, R>) - Method in interface com.aol.cyclops.sequence.SequenceM
Retry a transformation if it fails.
reveresedSequenceM() - Method in interface com.aol.cyclops.sequence.streamable.Streamable
 
reveresedStream() - Method in interface com.aol.cyclops.sequence.streamable.Streamable
 
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
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
reversedOf(T...) - Static method in interface com.aol.cyclops.sequence.SequenceM
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
 
ReversingRangeSpliterator - Class in com.aol.cyclops.sequence.spliterators
 
ReversingRangeSpliterator() - Constructor for class com.aol.cyclops.sequence.spliterators.ReversingRangeSpliterator
 
rightOuterJoin(Stream<U>, BiPredicate<T, U>) - Method in interface com.aol.cyclops.sequence.SequenceM
 

S

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
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
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.Streamable
 
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
 
setReverse(boolean) - Method in interface com.aol.cyclops.sequence.spliterators.ReversableSpliterator
 
shuffle() - Method in interface com.aol.cyclops.sequence.SequenceM
 
shuffle(Random) - Method in interface com.aol.cyclops.sequence.SequenceM
 
simpleFilter(AnyM<Predicate<? super T>>) - Method in interface com.aol.cyclops.monad.AnyM
Filter current monad by each element in supplied Monad e.g.
simpleFilter(Stream<Predicate<? super T>>) - Method in interface com.aol.cyclops.monad.AnyM
 
simpleFilter(Streamable<Predicate<? super T>>) - Method in interface com.aol.cyclops.monad.AnyM
 
simpleFilter(Optional<Predicate<? super T>>) - Method in interface com.aol.cyclops.monad.AnyM
 
simpleFilter(CompletableFuture<Predicate<? super T>>) - Method in interface com.aol.cyclops.monad.AnyM
 
single() - Method in interface com.aol.cyclops.sequence.future.FutureOperations
 
single() - Method in interface com.aol.cyclops.sequence.SequenceM
assertThat(SequenceM.of(1).single(),equalTo(1));
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
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)));
skipUntil(Predicate<? super T>) - Method in interface com.aol.cyclops.sequence.SequenceM
assertThat(SequenceM.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
assertThat(SequenceM.of(4,3,6,7).sorted().skipWhile(i->i<6).toList(),equalTo(Arrays.asList(6,7)));
slice(long, long) - Method in interface com.aol.cyclops.sequence.SequenceM
 
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
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
 
splitAt(int) - Method in interface com.aol.cyclops.sequence.SequenceM
Split at supplied location
splitBy(Predicate<T>) - Method in interface com.aol.cyclops.sequence.SequenceM
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()))
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.Streamable
 
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
 
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)
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
 

T

tail() - Method in class com.aol.cyclops.sequence.HeadAndTail
 
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)
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
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
 
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")));
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
 
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
 
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
 
toOptional() - Method in interface com.aol.cyclops.monad.AnyM
 
toOptional() - Method in interface com.aol.cyclops.sequence.SequenceM
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
 
toStream() - Method in interface com.aol.cyclops.sequence.SequenceM
Convert this SequenceM into a Stream
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(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
 
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.
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.ReversingRangeSpliterator
 
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.ReversingRangeSpliterator
 

U

unapply() - Method in interface com.aol.cyclops.objects.Decomposable
 
unit(T) - Method in interface com.aol.cyclops.monad.AnyM
 
unordered() - Method in interface com.aol.cyclops.sequence.SequenceM
 
unwrap() - Method in interface com.aol.cyclops.monad.AnyM
 
unwrap() - Method in class com.aol.cyclops.objects.AsDecomposable.CoercedDecomposable
 
unwrap() - Method in interface com.aol.cyclops.objects.Decomposable
 
unwrap() - Method in interface com.aol.cyclops.sequence.SequenceM
 
unwrap() - Method in interface com.aol.cyclops.sequence.Unwrapable
 
Unwrapable - Interface in com.aol.cyclops.sequence
 
unzip(SequenceM<Tuple2<T, U>>) - Static method in interface com.aol.cyclops.sequence.SequenceM
Unzip a zipped Stream
unzip3(SequenceM<Tuple3<T1, T2, T3>>) - Static method in interface com.aol.cyclops.sequence.SequenceM
Unzip a zipped Stream into 3
unzip4(SequenceM<Tuple4<T1, T2, T3, T4>>) - Static method in interface com.aol.cyclops.sequence.SequenceM
Unzip a zipped Stream into 4

W

windowBySizeAndTime(int, long, TimeUnit) - Method in interface com.aol.cyclops.sequence.SequenceM
Create a Sequence of Streamables (replayable Streams / Sequences) where each Streamable is populated up to a max size, or for max period of time
windowByTime(long, TimeUnit) - Method in interface com.aol.cyclops.sequence.SequenceM
Create SequenceM of Streamables (replayable Streams / Sequences) where each Streamable is populated within a specified time window
windowStatefullyWhile(BiPredicate<Streamable<T>, T>) - Method in interface com.aol.cyclops.sequence.SequenceM
Create SequenceM of Streamables (replayable Streams / Sequences) where each Streamable is populated while the supplied bipredicate holds.
windowUntil(Predicate<T>) - Method in interface com.aol.cyclops.sequence.SequenceM
Create a Sequence of Streamables (replayable Streams / Sequences) where each Streamable is populated until the supplied predicate holds.
windowWhile(Predicate<T>) - Method in interface com.aol.cyclops.sequence.SequenceM
Create a Sequence of Streamables (replayable Streams / Sequences) where each Streamable is populated while the supplied predicate holds.

X

xMatch(int, Predicate<? super T>) - Method in interface com.aol.cyclops.sequence.SequenceM
Check that there are specified number of matches of predicate in the Stream
xPer(int, long, TimeUnit) - Method in interface com.aol.cyclops.sequence.SequenceM
emit x elements per time period

Z

zero() - Method in interface com.aol.cyclops.sequence.Monoid
An element that when provided as a parameter to the combiner with another value, results in the other value being returned e.g.
zip(Seq<U>) - Method in interface com.aol.cyclops.sequence.SequenceM
Zip 2 streams into one
zip(Seq<U>, BiFunction<T, U, R>) - Method in interface com.aol.cyclops.sequence.SequenceM
 
zip3(Stream<? extends S>, Stream<? extends U>) - Method in interface com.aol.cyclops.sequence.SequenceM
zip 3 Streams into one
zip4(Stream<T2>, Stream<T3>, Stream<T4>) - Method in interface com.aol.cyclops.sequence.SequenceM
zip 4 Streams into 1
zipAnyM(AnyM<? extends S>, BiFunction<? super T, ? super S, ? extends R>) - Method in interface com.aol.cyclops.sequence.SequenceM
Zip this SequenceM against any monad type.
zipSequence(SequenceM<? extends S>, BiFunction<? super T, ? super S, ? extends R>) - Method in interface com.aol.cyclops.sequence.SequenceM
Generic zip function.
zipStream(Stream<U>) - Method in interface com.aol.cyclops.sequence.SequenceM
Zip 2 streams into one
zipStream(BaseStream<? extends S, ? extends BaseStream<? extends S, ?>>, BiFunction<? super T, ? super S, ? extends R>) - Method in interface com.aol.cyclops.sequence.SequenceM
Zip this Monad with a Stream
zipWithIndex() - Method in interface com.aol.cyclops.sequence.SequenceM
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