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

A

add(T) - Method in class com.aol.cyclops.hkt.pcollections.PQueueType.Box
 
add(T) - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
add(int, T) - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
add(T) - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 
add(int, T) - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 
addAll(Collection<? extends T>) - Method in class com.aol.cyclops.hkt.pcollections.PQueueType.Box
 
addAll(Collection<? extends T>) - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
addAll(int, Collection<? extends T>) - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
addAll(Collection<? extends T>) - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 
addAll(int, Collection<? extends T>) - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 
always(Supplier<T>) - Static method in interface com.aol.cyclops.hkt.cyclops.EvalType
Lazily create an Eval from the specified Supplier.
ap(Higher<CRE, Function<T, R>>, Higher<CRE, T>) - Method in class com.aol.cyclops.hkt.instances.General.GeneralApplicative
 
ap(Higher<CRE, Function<T, R>>, Higher<CRE, T>) - Method in class com.aol.cyclops.hkt.instances.General.GeneralMonad
 
ap(Higher<CRE, Function<T, R>>, Higher<CRE, T>) - Method in class com.aol.cyclops.hkt.instances.General.GeneralMonadPlus
 
ap(Higher<CRE, Function<T, R>>, Higher<CRE, T>) - Method in class com.aol.cyclops.hkt.instances.General.GeneralMonadZero
 
ap(Higher<CRE, Function<T, R>>, Higher<CRE, T>) - Method in class com.aol.cyclops.hkt.instances.General.GeneralTraverse
 
ap(Higher<CRE, Function<T, R>>, Higher<CRE, T>) - Method in class com.aol.cyclops.hkt.instances.General.GeneralTraverseByTraverse
 
ap(Higher<CRE, Function<T, R>>, Higher<CRE, T>) - Method in class com.aol.cyclops.hkt.instances.General.SupplierMonadPlus
 
ap(Higher<CRE, Function<T, R>>, Higher<CRE, T>) - Method in class com.aol.cyclops.hkt.instances.General.SupplierMonadZero
 
ap(Higher<CRE, Function<T, R>>, Higher<CRE, T>) - Method in interface com.aol.cyclops.hkt.typeclasses.monad.Applicative
 
ap2(Higher<CRE, Function<T, Function<T2, R>>>, Higher<CRE, T>, Higher<CRE, T2>) - Method in interface com.aol.cyclops.hkt.typeclasses.monad.Applicative
 
ap3(Higher<CRE, Function<T, Function<T2, Function<T3, R>>>>, Higher<CRE, T>, Higher<CRE, T2>, Higher<CRE, T3>) - Method in interface com.aol.cyclops.hkt.typeclasses.monad.Applicative
 
apBiFn(Higher<CRE, BiFunction<T, T2, R>>, Higher<CRE, T>, Higher<CRE, T2>) - Method in interface com.aol.cyclops.hkt.typeclasses.monad.Applicative
The default implementation of apBiFn is less efficient than ap2 (extra map operation)
applicative() - Static method in class com.aol.cyclops.hkt.instances.cyclops.EvalInstances
import static com.aol.cyclops.hkt.jdk.EvalType.widen; import static com.aol.cyclops.util.function.Lambda.l1; import static java.util.Arrays.asEval; Evals.zippingApplicative() .ap(widen(asEval(l1(this::multiplyByTwo))),widen(asEval(1,2,3))); //[2,4,6]
applicative() - Static method in class com.aol.cyclops.hkt.instances.cyclops.FutureWInstances
import static com.aol.cyclops.hkt.jdk.FutureType.widen; import static com.aol.cyclops.util.function.Lambda.l1; import static java.util.Arrays.asFutureW; FutureWs.zippingApplicative() .ap(widen(asFutureW(l1(this::multiplyByTwo))),widen(asFutureW(1,2,3))); //[2,4,6]
applicative() - Static method in class com.aol.cyclops.hkt.instances.cyclops.MaybeInstances
import static com.aol.cyclops.hkt.jdk.MaybeType.widen; import static com.aol.cyclops.util.function.Lambda.l1; import static java.util.Maybe.just; Maybes.zippingApplicative() .ap(widen(asMaybe(l1(this::multiplyByTwo))),widen(asMaybe(1,2,3))); //[2,4,6]
applicative(Functor<CRE>, Unit<CRE>, BiFunction<? extends Higher<CRE, Function<T, R>>, ? extends Higher<CRE, T>, ? extends Higher<CRE, R>>) - Static method in interface com.aol.cyclops.hkt.instances.General
 
applicative() - Static method in class com.aol.cyclops.hkt.instances.jdk.CompletableFutureInstances
import static com.aol.cyclops.hkt.jdk.CompletableFutureType.widen; import static com.aol.cyclops.util.function.Lambda.l1; CompletableFutures.applicative() .ap(widen(asCompletableFuture(l1(this::multiplyByTwo))),widen(asCompletableFuture(3))); //[6]
applicative() - Static method in class com.aol.cyclops.hkt.instances.jdk.OptionalInstances
import static com.aol.cyclops.hkt.jdk.OptionalType.widen; import static com.aol.cyclops.util.function.Lambda.l1; import static java.util.Arrays.asOptional; Optionals.zippingApplicative() .ap(widen(asOptional(l1(this::multiplyByTwo))),widen(asOptional(1,2,3))); //[2,4,6]
Applicative<CRE> - Interface in com.aol.cyclops.hkt.typeclasses.monad
 

B

Box() - Constructor for class com.aol.cyclops.hkt.cyclops.EvalType.Box
 
Box() - Constructor for class com.aol.cyclops.hkt.cyclops.MaybeType.Box
 
Box() - Constructor for class com.aol.cyclops.hkt.cyclops.XorType.Box
 
Box() - Constructor for class com.aol.cyclops.hkt.pcollections.PQueueType.Box
 
Box() - Constructor for class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
Box() - Constructor for class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 

C

clear() - Method in class com.aol.cyclops.hkt.pcollections.PQueueType.Box
 
clear() - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
clear() - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 
coflatMap(Function<? super Higher<CRE, T>, R>, Higher<CRE, T>) - Method in interface com.aol.cyclops.hkt.typeclasses.comonad.Comonad
Contra-variant flatMap Transform the supplied data structure with the supplied transformation function Datastructure is provided to the function which returns a single value
com.aol.cyclops.hkt.cyclops - package com.aol.cyclops.hkt.cyclops
 
com.aol.cyclops.hkt.instances - package com.aol.cyclops.hkt.instances
 
com.aol.cyclops.hkt.instances.cyclops - package com.aol.cyclops.hkt.instances.cyclops
 
com.aol.cyclops.hkt.instances.jdk - package com.aol.cyclops.hkt.instances.jdk
 
com.aol.cyclops.hkt.instances.pcollections - package com.aol.cyclops.hkt.instances.pcollections
 
com.aol.cyclops.hkt.pcollections - package com.aol.cyclops.hkt.pcollections
 
com.aol.cyclops.hkt.typeclasses - package com.aol.cyclops.hkt.typeclasses
 
com.aol.cyclops.hkt.typeclasses.comonad - package com.aol.cyclops.hkt.typeclasses.comonad
 
com.aol.cyclops.hkt.typeclasses.foldable - package com.aol.cyclops.hkt.typeclasses.foldable
 
com.aol.cyclops.hkt.typeclasses.functor - package com.aol.cyclops.hkt.typeclasses.functor
 
com.aol.cyclops.hkt.typeclasses.monad - package com.aol.cyclops.hkt.typeclasses.monad
 
combine(Value<? extends T2>, BiFunction<? super PT, ? super T2, ? extends R>) - Method in class com.aol.cyclops.hkt.cyclops.XorType.Box
 
Combine<CRE> - Interface in com.aol.cyclops.hkt.typeclasses
 
comonad() - Static method in class com.aol.cyclops.hkt.instances.cyclops.EvalInstances
 
comonad() - Static method in class com.aol.cyclops.hkt.instances.cyclops.FutureWInstances
 
comonad() - Static method in class com.aol.cyclops.hkt.instances.cyclops.MaybeInstances
 
comonad(Functor<CRE>, Unit<CRE>, Function<? super Higher<CRE, T>, ? extends T>) - Static method in interface com.aol.cyclops.hkt.instances.General
 
comonad() - Static method in class com.aol.cyclops.hkt.instances.jdk.CompletableFutureInstances
 
comonad() - Static method in class com.aol.cyclops.hkt.instances.jdk.OptionalInstances
 
Comonad<CRE> - Interface in com.aol.cyclops.hkt.typeclasses.comonad
Contra-variant Monad type class Nest values (contra-variant to flatten) Extract values (contra-varaiant to of) coFlatMap - a transformation that accepts a comand and returns a value
CompletableFutureInstances - Class in com.aol.cyclops.hkt.instances.jdk
Companion class for creating Type Class instances for working with CompletableFutures
CompletableFutureInstances() - Constructor for class com.aol.cyclops.hkt.instances.jdk.CompletableFutureInstances
 
Compose<CRE,C2> - Class in com.aol.cyclops.hkt.typeclasses.functor
Compose two functors so operations are applied to the inner functor e.g.
Compose() - Constructor for class com.aol.cyclops.hkt.typeclasses.functor.Compose
 
compose(Functor<CRE>, Functor<C2>) - Static method in class com.aol.cyclops.hkt.typeclasses.functor.Compose
Compose two functors
contains(Object) - Method in class com.aol.cyclops.hkt.pcollections.PQueueType.Box
 
contains(Object) - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
contains(Object) - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 
containsAll(Collection<?>) - Method in class com.aol.cyclops.hkt.pcollections.PQueueType.Box
 
containsAll(Collection<?>) - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
containsAll(Collection<?>) - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 
curry2(BiFunction<T1, T2, R>) - Static method in interface com.aol.cyclops.hkt.typeclasses.monad.Applicative
 

D

DequeInstances - Class in com.aol.cyclops.hkt.instances.jdk
Companion class for creating Type Class instances for working with Deques
DequeInstances() - Constructor for class com.aol.cyclops.hkt.instances.jdk.DequeInstances
 

E

element() - Method in class com.aol.cyclops.hkt.pcollections.PQueueType.Box
 
empty() - Static method in class com.aol.cyclops.hkt.cyclops.FutureType
An empty FutureW
equals(Object) - Method in class com.aol.cyclops.hkt.cyclops.EvalType.Box
 
equals(Object) - Method in class com.aol.cyclops.hkt.cyclops.MaybeType.Box
 
equals(Object) - Method in class com.aol.cyclops.hkt.cyclops.XorType.Box
 
equals(Object) - Method in class com.aol.cyclops.hkt.pcollections.PQueueType.Box
 
equals(Object) - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
equals(Object) - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 
EvalInstances - Class in com.aol.cyclops.hkt.instances.cyclops
Companion class for creating Type Class instances for working with Evals
EvalInstances() - Constructor for class com.aol.cyclops.hkt.instances.cyclops.EvalInstances
 
EvalType<T> - Interface in com.aol.cyclops.hkt.cyclops
Simulates Higher Kinded Types for Eval's EvalType is a Eval and a Higher Kinded Type (EvalType.µ,T)
EvalType.Box<T> - Class in com.aol.cyclops.hkt.cyclops
 
EvalType.µ - Class in com.aol.cyclops.hkt.cyclops
Witness type
extract(Higher<CRE, T>) - Method in class com.aol.cyclops.hkt.instances.General.GeneralComonad
 
extract(Higher<CRE, T>) - Method in interface com.aol.cyclops.hkt.typeclasses.comonad.Comonad
Extract value embedded in datastructure

F

filter(Predicate<? super T>) - Method in class com.aol.cyclops.hkt.cyclops.MaybeType.Box
 
filter(Predicate<? super PT>) - Method in class com.aol.cyclops.hkt.cyclops.XorType.Box
 
filter(Predicate<? super T>, Higher<CRE, T>) - Method in class com.aol.cyclops.hkt.instances.General.SupplierMonadZero
 
filter(Predicate<? super T>, Higher<CRE, T>) - Method in interface com.aol.cyclops.hkt.typeclasses.Filterable
 
filter(Predicate<? super T>, Higher<CRE, T>) - Method in interface com.aol.cyclops.hkt.typeclasses.monad.MonadZero
 
Filterable<CRE> - Interface in com.aol.cyclops.hkt.typeclasses
 
FilterableFunctor<CRE> - Interface in com.aol.cyclops.hkt.typeclasses.functor
 
flatMap(Function<? super T, ? extends MonadicValue<? extends R>>) - Method in class com.aol.cyclops.hkt.cyclops.EvalType.Box
 
flatMap(Function<? super T, ? extends MonadicValue<? extends R>>) - Method in class com.aol.cyclops.hkt.cyclops.MaybeType.Box
 
flatMap(Function<? super PT, ? extends MonadicValue2<? extends LT1, ? extends RT1>>) - Method in class com.aol.cyclops.hkt.cyclops.XorType.Box
 
flatMap(Function<? super T, ? extends Higher<CRE, R>>, Higher<CRE, T>) - Method in class com.aol.cyclops.hkt.instances.General.GeneralMonad
 
flatMap(Function<? super T, ? extends Higher<CRE, R>>, Higher<CRE, T>) - Method in class com.aol.cyclops.hkt.instances.General.GeneralMonadPlus
 
flatMap(Function<? super T, ? extends Higher<CRE, R>>, Higher<CRE, T>) - Method in class com.aol.cyclops.hkt.instances.General.GeneralMonadZero
 
flatMap(Function<? super T, ? extends Higher<CRE, R>>, Higher<CRE, T>) - Method in class com.aol.cyclops.hkt.instances.General.SupplierMonadPlus
 
flatMap(Function<? super T, ? extends Higher<CRE, R>>, Higher<CRE, T>) - Method in class com.aol.cyclops.hkt.instances.General.SupplierMonadZero
 
flatMap(Function<? super T, ? extends Higher<CRE, R>>, Higher<CRE, T>) - Method in interface com.aol.cyclops.hkt.typeclasses.monad.Monad
 
flatten(Higher<CRE, Higher<CRE, T>>) - Method in interface com.aol.cyclops.hkt.typeclasses.monad.Monad
 
foldable() - Static method in class com.aol.cyclops.hkt.instances.cyclops.EvalInstances
int sum = Evals.foldable() .foldLeft(0, (a,b)->a+b, EvalType.widen(Arrays.asEval(1,2,3,4))); //10
foldable() - Static method in class com.aol.cyclops.hkt.instances.cyclops.FutureWInstances
int sum = FutureWs.foldable() .foldLeft(0, (a,b)->a+b, FutureType.widen(FutureW.ofResult(4))); //4
foldable() - Static method in class com.aol.cyclops.hkt.instances.cyclops.MaybeInstances
int sum = Maybes.foldable() .foldLeft(0, (a,b)->a+b, MaybeType.widen(Maybe.just(1))); //1
foldable(BiFunction<Monoid<T>, Higher<CRE, T>, T>, BiFunction<Monoid<T>, Higher<CRE, T>, T>) - Static method in interface com.aol.cyclops.hkt.instances.General
 
foldable() - Static method in class com.aol.cyclops.hkt.instances.jdk.CompletableFutureInstances
int sum = CompletableFutures.foldable() .foldLeft(0, (a,b)->a+b, CompletableFutureType.widen(CompletableFuture.completedFuture(3))); //3
foldable() - Static method in class com.aol.cyclops.hkt.instances.jdk.DequeInstances
int sum = Deques.foldable() .foldLeft(0, (a,b)->a+b, DequeType.widen(DequeX.of(1,2,3,4))); //10
foldable() - Static method in class com.aol.cyclops.hkt.instances.jdk.ListInstances
int sum = Lists.foldable() .foldLeft(0, (a,b)->a+b, ListType.widen(Arrays.asList(1,2,3,4))); //10
foldable() - Static method in class com.aol.cyclops.hkt.instances.jdk.OptionalInstances
int sum = Optionals.foldable() .foldLeft(0, (a,b)->a+b, OptionalType.widen(Arrays.asOptional(1,2,3,4))); //10
foldable() - Static method in class com.aol.cyclops.hkt.instances.jdk.QueueInstances
int sum = Queues.foldable() .foldLeft(0, (a,b)->a+b, QueueType.widen(QueueX.of(1,2,3,4))); //10
foldable() - Static method in class com.aol.cyclops.hkt.instances.jdk.StreamInstances
int sum = Streams.foldable() .foldLeft(0, (a,b)->a+b, StreamType.widen(Stream.of(1,2,3,4))); //10
foldable() - Static method in class com.aol.cyclops.hkt.instances.pcollections.PQueueInstances
int sum = PQueues.foldable() .foldLeft(0, (a,b)->a+b, PQueueType.widen(Arrays.asPQueue(1,2,3,4))); //10
foldable() - Static method in class com.aol.cyclops.hkt.instances.pcollections.PStackInstances
int sum = PStacks.foldable() .foldLeft(0, (a,b)->a+b, PStackType.widen(Arrays.asPStack(1,2,3,4))); //10
foldable() - Static method in class com.aol.cyclops.hkt.instances.pcollections.PVectorInstances
int sum = PVectors.foldable() .foldLeft(0, (a,b)->a+b, PVectorType.widen(Arrays.asPVector(1,2,3,4))); //10
Foldable<CRE> - Interface in com.aol.cyclops.hkt.typeclasses.foldable
Type class for foldables
foldLeft(Monoid<T>, Higher<CRE, T>) - Method in class com.aol.cyclops.hkt.instances.General.GeneralFoldable
 
foldLeft(Monoid<T>, Higher<CRE, T>) - Method in interface com.aol.cyclops.hkt.typeclasses.foldable.Foldable
Starting from the left combine each value in turn with an accumulator
foldLeft(T, BinaryOperator<T>, Higher<CRE, T>) - Method in interface com.aol.cyclops.hkt.typeclasses.foldable.Foldable
Starting from the left combine each value in turn with an accumulator
foldRight(Monoid<T>, Higher<CRE, T>) - Method in class com.aol.cyclops.hkt.instances.General.GeneralFoldable
 
foldRight(Monoid<T>, Higher<CRE, T>) - Method in interface com.aol.cyclops.hkt.typeclasses.foldable.Foldable
Starting from the right combine each value in turn with an accumulator
foldRight(T, BinaryOperator<T>, Higher<CRE, T>) - Method in interface com.aol.cyclops.hkt.typeclasses.foldable.Foldable
Starting from the right combine each value in turn with an accumulator
fromIterable(Iterable<T>) - Static method in interface com.aol.cyclops.hkt.cyclops.EvalType
Create an EvalType instance from an Iterable
fromIterable(Iterable<T>, Executor) - Static method in class com.aol.cyclops.hkt.cyclops.FutureType
Construct a FutureW asyncrhonously that contains a single value extracted from the supplied Iterable
fromIterable(Iterable<T>) - Static method in class com.aol.cyclops.hkt.cyclops.FutureType
Construct a FutureW syncrhonously that contains a single value extracted from the supplied Iterable
fromOptional(Higher<OptionalType.µ, T>) - Static method in interface com.aol.cyclops.hkt.cyclops.MaybeType
Construct an equivalent Maybe from the Supplied Optional
fromPublisher(Publisher<T>) - Static method in interface com.aol.cyclops.hkt.cyclops.EvalType
Create an EvalType instance from a reactive-streams publisher
fromPublisher(Publisher<T>, Executor) - Static method in class com.aol.cyclops.hkt.cyclops.FutureType
Construct a FutureW asyncrhonously that contains a single value extracted from the supplied reactive-streams Publisher
fromPublisher(Publisher<T>) - Static method in class com.aol.cyclops.hkt.cyclops.FutureType
Construct a FutureW syncrhonously that contains a single value extracted from the supplied reactive-streams Publisher
fromXor(Xor<ST, T>) - Static method in interface com.aol.cyclops.hkt.cyclops.MaybeType
 
fromXor(Try<T, X>) - Static method in interface com.aol.cyclops.hkt.cyclops.MaybeType
 
functor() - Static method in class com.aol.cyclops.hkt.instances.cyclops.EvalInstances
Transform a list, mulitplying every element by 2
functor() - Static method in class com.aol.cyclops.hkt.instances.cyclops.FutureWInstances
Transform a future, mulitplying every element by 2
functor() - Static method in class com.aol.cyclops.hkt.instances.cyclops.MaybeInstances
Transform a maybe, mulitplying every element by 2
functor(BiFunction<? extends Higher<CRE, T>, Function<? super T, ? extends R>, ? extends Higher<CRE, R>>) - Static method in interface com.aol.cyclops.hkt.instances.General
 
functor() - Static method in class com.aol.cyclops.hkt.instances.jdk.CompletableFutureInstances
Transform a future, mulitplying every element by 2
functor() - Static method in class com.aol.cyclops.hkt.instances.jdk.DequeInstances
Transform a list, mulitplying every element by 2
functor() - Static method in class com.aol.cyclops.hkt.instances.jdk.ListInstances
Transform a list, mulitplying every element by 2
functor() - Static method in class com.aol.cyclops.hkt.instances.jdk.OptionalInstances
Transform a list, mulitplying every element by 2
functor() - Static method in class com.aol.cyclops.hkt.instances.jdk.QueueInstances
Transform a queue, mulitplying every element by 2
functor() - Static method in class com.aol.cyclops.hkt.instances.jdk.StreamInstances
Transform a list, mulitplying every element by 2
functor() - Static method in class com.aol.cyclops.hkt.instances.pcollections.PQueueInstances
Transform a list, mulitplying every element by 2
functor() - Static method in class com.aol.cyclops.hkt.instances.pcollections.PStackInstances
Transform a list, mulitplying every element by 2
functor() - Static method in class com.aol.cyclops.hkt.instances.pcollections.PVectorInstances
Transform a list, mulitplying every element by 2
Functor<CRE> - Interface in com.aol.cyclops.hkt.typeclasses.functor
Functor type class, performs a transformation operation over the supplied data structure
future() - Static method in class com.aol.cyclops.hkt.cyclops.FutureType
An empty FutureType
FutureType<T> - Class in com.aol.cyclops.hkt.cyclops
Simulates Higher Kinded Types for FutureW's FutureWType is a FutureW and a Higher Kinded Type (FutureWType.µ,T)
FutureType.µ - Class in com.aol.cyclops.hkt.cyclops
Witness type
FutureWInstances - Class in com.aol.cyclops.hkt.instances.cyclops
Companion class for creating Type Class instances for working with FutureWs
FutureWInstances() - Constructor for class com.aol.cyclops.hkt.instances.cyclops.FutureWInstances
 

G

General - Interface in com.aol.cyclops.hkt.instances
General instance used to create typeclass instances from Java 8 method references
General.GeneralApplicative<CRE,A,B> - Class in com.aol.cyclops.hkt.instances
 
General.GeneralComonad<CRE,A,B> - Class in com.aol.cyclops.hkt.instances
 
General.GeneralFoldable<CRE,T> - Class in com.aol.cyclops.hkt.instances
 
General.GeneralFunctor<CRE,A,B> - Class in com.aol.cyclops.hkt.instances
 
General.GeneralMonad<CRE,A,B> - Class in com.aol.cyclops.hkt.instances
 
General.GeneralMonadPlus<CRE,T> - Class in com.aol.cyclops.hkt.instances
 
General.GeneralMonadZero<CRE,A,B> - Class in com.aol.cyclops.hkt.instances
 
General.GeneralTraverse<CRE,C2,A,B> - Class in com.aol.cyclops.hkt.instances
 
General.GeneralTraverseByTraverse<CRE,C2,A,B> - Class in com.aol.cyclops.hkt.instances
 
General.GeneralUnit<CRE,A> - Class in com.aol.cyclops.hkt.instances
 
General.SupplierMonadPlus<CRE,T,B> - Class in com.aol.cyclops.hkt.instances
 
General.SupplierMonadZero<CRE,A,B> - Class in com.aol.cyclops.hkt.instances
 
GeneralApplicative() - Constructor for class com.aol.cyclops.hkt.instances.General.GeneralApplicative
 
GeneralComonad() - Constructor for class com.aol.cyclops.hkt.instances.General.GeneralComonad
 
GeneralFoldable() - Constructor for class com.aol.cyclops.hkt.instances.General.GeneralFoldable
 
GeneralFunctor() - Constructor for class com.aol.cyclops.hkt.instances.General.GeneralFunctor
 
GeneralMonad() - Constructor for class com.aol.cyclops.hkt.instances.General.GeneralMonad
 
GeneralMonadPlus() - Constructor for class com.aol.cyclops.hkt.instances.General.GeneralMonadPlus
 
GeneralMonadZero() - Constructor for class com.aol.cyclops.hkt.instances.General.GeneralMonadZero
 
GeneralTraverse() - Constructor for class com.aol.cyclops.hkt.instances.General.GeneralTraverse
 
GeneralTraverseByTraverse() - Constructor for class com.aol.cyclops.hkt.instances.General.GeneralTraverseByTraverse
 
GeneralUnit() - Constructor for class com.aol.cyclops.hkt.instances.General.GeneralUnit
 
get() - Method in class com.aol.cyclops.hkt.cyclops.EvalType.Box
 
get() - Method in class com.aol.cyclops.hkt.cyclops.MaybeType.Box
 
get() - Method in class com.aol.cyclops.hkt.cyclops.XorType.Box
 
get(int) - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
get(int) - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 

H

hashCode() - Method in class com.aol.cyclops.hkt.cyclops.EvalType.Box
 
hashCode() - Method in class com.aol.cyclops.hkt.cyclops.MaybeType.Box
 
hashCode() - Method in class com.aol.cyclops.hkt.cyclops.XorType.Box
 
hashCode() - Method in class com.aol.cyclops.hkt.pcollections.PQueueType.Box
 
hashCode() - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
hashCode() - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 

I

indexOf(Object) - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
indexOf(Object) - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 
isEmpty() - Method in class com.aol.cyclops.hkt.pcollections.PQueueType.Box
 
isEmpty() - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
isEmpty() - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 
isPresent() - Method in class com.aol.cyclops.hkt.cyclops.MaybeType.Box
 
isPresent() - Method in class com.aol.cyclops.hkt.cyclops.XorType.Box
 
isPrimary() - Method in class com.aol.cyclops.hkt.cyclops.XorType.Box
 
isSecondary() - Method in class com.aol.cyclops.hkt.cyclops.XorType.Box
 
iterator() - Method in class com.aol.cyclops.hkt.pcollections.PQueueType.Box
 
iterator() - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
iterator() - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 

J

just(T) - Static method in interface com.aol.cyclops.hkt.cyclops.MaybeType
Construct an Maybe which contains the provided (non-null) value.

L

lastIndexOf(Object) - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
lastIndexOf(Object) - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 
later(Supplier<T>) - Static method in interface com.aol.cyclops.hkt.cyclops.EvalType
Lazily create an Eval from the specified Supplier.
lift(Function<? super T, ? extends R>) - Method in interface com.aol.cyclops.hkt.typeclasses.functor.Functor
 
ListInstances - Class in com.aol.cyclops.hkt.instances.jdk
Companion class for creating Type Class instances for working with Lists
ListInstances() - Constructor for class com.aol.cyclops.hkt.instances.jdk.ListInstances
 
listIterator() - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
listIterator(int) - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
listIterator() - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 
listIterator(int) - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 

M

main(String[]) - Static method in class com.aol.cyclops.hkt.instances.jdk.DequeInstances
 
main(String[]) - Static method in class com.aol.cyclops.hkt.instances.jdk.ListInstances
 
main(String[]) - Static method in class com.aol.cyclops.hkt.instances.jdk.QueueInstances
 
map(Function<? super T, ? extends R>) - Method in class com.aol.cyclops.hkt.cyclops.EvalType.Box
 
map(Function<? super T, ? extends R>) - Method in class com.aol.cyclops.hkt.cyclops.MaybeType.Box
 
map(Function<? super PT, ? extends R>) - Method in class com.aol.cyclops.hkt.cyclops.XorType.Box
 
map(Function<? super T, ? extends R>, Higher<CRE, T>) - Method in class com.aol.cyclops.hkt.instances.General.GeneralApplicative
 
map(Function<? super T, ? extends R>, Higher<CRE, T>) - Method in class com.aol.cyclops.hkt.instances.General.GeneralComonad
 
map(Function<? super T, ? extends R>, Higher<CRE, T>) - Method in class com.aol.cyclops.hkt.instances.General.GeneralFunctor
 
map(Function<? super T, ? extends R>, Higher<CRE, T>) - Method in class com.aol.cyclops.hkt.instances.General.GeneralMonad
 
map(Function<? super T, ? extends R>, Higher<CRE, T>) - Method in class com.aol.cyclops.hkt.instances.General.GeneralMonadPlus
 
map(Function<? super T, ? extends R>, Higher<CRE, T>) - Method in class com.aol.cyclops.hkt.instances.General.GeneralMonadZero
 
map(Function<? super T, ? extends R>, Higher<CRE, T>) - Method in class com.aol.cyclops.hkt.instances.General.GeneralTraverse
 
map(Function<? super T, ? extends R>, Higher<CRE, T>) - Method in class com.aol.cyclops.hkt.instances.General.GeneralTraverseByTraverse
 
map(Function<? super T, ? extends R>, Higher<CRE, T>) - Method in class com.aol.cyclops.hkt.instances.General.SupplierMonadPlus
 
map(Function<? super T, ? extends R>, Higher<CRE, T>) - Method in class com.aol.cyclops.hkt.instances.General.SupplierMonadZero
 
map(Function<? super T, ? extends R>, Higher<CRE, Higher<C2, T>>) - Method in class com.aol.cyclops.hkt.typeclasses.functor.Compose
Transformation operation
map(Function<? super T, ? extends R>, Higher<CRE, T>) - Method in interface com.aol.cyclops.hkt.typeclasses.functor.Functor
Transform the supplied data structure using the supplied transformation function
mapM(Function<T, Higher<CRE, R>>) - Method in interface com.aol.cyclops.hkt.typeclasses.monad.Monad
 
mapRev(Higher<CRE, T>, Function<? super T, ? extends R>) - Method in interface com.aol.cyclops.hkt.typeclasses.functor.Functor
 
matches(Function<Matchable.CheckValue1<ST, R>, Matchable.CheckValue1<ST, R>>, Function<Matchable.CheckValue1<PT, R>, Matchable.CheckValue1<PT, R>>, Supplier<? extends R>) - Method in class com.aol.cyclops.hkt.cyclops.XorType.Box
 
MaybeInstances - Class in com.aol.cyclops.hkt.instances.cyclops
Companion class for creating Type Class instances for working with Maybes
MaybeInstances() - Constructor for class com.aol.cyclops.hkt.instances.cyclops.MaybeInstances
 
MaybeType<T> - Interface in com.aol.cyclops.hkt.cyclops
Simulates Higher Kinded Types for Maybe's MaybeType is a Maybe and a Higher Kinded Type (MaybeType.µ,T)
MaybeType.Box<T> - Class in com.aol.cyclops.hkt.cyclops
 
MaybeType.µ - Class in com.aol.cyclops.hkt.cyclops
Witness type
minus() - Method in class com.aol.cyclops.hkt.pcollections.PQueueType.Box
 
minus(Object) - Method in class com.aol.cyclops.hkt.pcollections.PQueueType.Box
 
minus(Object) - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
minus(int) - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
minus(Object) - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 
minus(int) - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 
minusAll(Collection<?>) - Method in class com.aol.cyclops.hkt.pcollections.PQueueType.Box
 
minusAll(Collection<?>) - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
minusAll(Collection<?>) - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 
monad() - Static method in class com.aol.cyclops.hkt.instances.cyclops.EvalInstances
import static com.aol.cyclops.hkt.jdk.EvalType.widen; EvalType<Integer> list = Evals.monad() .flatMap(i->widen(EvalX.range(0,i)), widen(Arrays.asEval(1,2,3))) .convert(EvalType::narrowK);
monad() - Static method in class com.aol.cyclops.hkt.instances.cyclops.FutureWInstances
import static com.aol.cyclops.hkt.jdk.FutureType.widen; FutureType<Integer> future = FutureWs.monad() .flatMap(i->widen(FutureW.ofResult(0)), widen(FutureW.ofResult(2))) .convert(FutureType::narrowK);
monad() - Static method in class com.aol.cyclops.hkt.instances.cyclops.MaybeInstances
import static com.aol.cyclops.hkt.jdk.MaybeType.widen; MaybeType<Integer> maybe = Maybes.monad() .flatMap(i->widen(MaybeX.range(0,i)), widen(Maybe.just(1,2,3))) .convert(MaybeType::narrowK);
monad(Applicative<CRE>, BiFunction<? extends Higher<CRE, A>, Function<? super A, ? extends Higher<CRE, B>>, ? extends Higher<CRE, B>>) - Static method in interface com.aol.cyclops.hkt.instances.General
 
monad() - Static method in class com.aol.cyclops.hkt.instances.jdk.CompletableFutureInstances
import static com.aol.cyclops.hkt.jdk.CompletableFutureType.widen; CompletableFutureType<Integer> future = CompletableFutures.monad() .flatMap(i->widen(CompletableFutureX.range(0,i)), widen(CompletableFuture.completedFuture(3))) .convert(CompletableFutureType::narrowK);
monad() - Static method in class com.aol.cyclops.hkt.instances.jdk.DequeInstances
import static com.aol.cyclops.hkt.jdk.DequeType.widen; DequeType<Integer> list = Deques.monad() .flatMap(i->widen(DequeX.range(0,i)), widen(DequeX.of(1,2,3))) .convert(DequeType::narrowK);
monad() - Static method in class com.aol.cyclops.hkt.instances.jdk.ListInstances
import static com.aol.cyclops.hkt.jdk.ListType.widen; ListType<Integer> list = Lists.monad() .flatMap(i->widen(ListX.range(0,i)), widen(Arrays.asList(1,2,3))) .convert(ListType::narrowK);
monad() - Static method in class com.aol.cyclops.hkt.instances.jdk.OptionalInstances
import static com.aol.cyclops.hkt.jdk.OptionalType.widen; OptionalType<Integer> list = Optionals.monad() .flatMap(i->widen(OptionalX.range(0,i)), widen(Arrays.asOptional(1,2,3))) .convert(OptionalType::narrowK);
monad() - Static method in class com.aol.cyclops.hkt.instances.jdk.QueueInstances
import static com.aol.cyclops.hkt.jdk.QueueType.widen; QueueType<Integer> queue = Queues.monad() .flatMap(i->widen(QueueX.range(0,i)), widen(QueueX.of(1,2,3))) .convert(QueueType::narrowK);
monad() - Static method in class com.aol.cyclops.hkt.instances.jdk.StreamInstances
import static com.aol.cyclops.hkt.jdk.StreamType.widen; StreamType<Integer> list = Streams.monad() .flatMap(i->widen(StreamX.range(0,i)), widen(Stream.of(1,2,3))) .convert(StreamType::narrowK);
monad() - Static method in class com.aol.cyclops.hkt.instances.pcollections.PQueueInstances
import static com.aol.cyclops.hkt.jdk.PQueueType.widen; PQueueType<Integer> list = PQueues.monad() .flatMap(i->widen(PQueueX.range(0,i)), widen(Arrays.asPQueue(1,2,3))) .convert(PQueueType::narrowK);
monad() - Static method in class com.aol.cyclops.hkt.instances.pcollections.PStackInstances
import static com.aol.cyclops.hkt.jdk.PStackType.widen; PStackType<Integer> list = PStacks.monad() .flatMap(i->widen(PStackX.range(0,i)), widen(Arrays.asPStack(1,2,3))) .convert(PStackType::narrowK);
monad() - Static method in class com.aol.cyclops.hkt.instances.pcollections.PVectorInstances
import static com.aol.cyclops.hkt.jdk.PVectorType.widen; PVectorType<Integer> list = PVectors.monad() .flatMap(i->widen(PVectorX.range(0,i)), widen(Arrays.asPVector(1,2,3))) .convert(PVectorType::narrowK);
Monad<CRE> - Interface in com.aol.cyclops.hkt.typeclasses.monad
 
monadPlus() - Static method in class com.aol.cyclops.hkt.instances.cyclops.EvalInstances
EvalType<Integer> list = Evals.<Integer>monadPlus() .plus(EvalType.widen(Arrays.asEval()), EvalType.widen(Arrays.asEval(10))) .convert(EvalType::narrowK); //Arrays.asEval(10))
monadPlus(Monoid<EvalType<T>>) - Static method in class com.aol.cyclops.hkt.instances.cyclops.EvalInstances
Monoid<EvalType<Integer>> m = Monoid.of(EvalType.widen(Arrays.asEval()), (a,b)->a.isEmpty() ? b : a); EvalType<Integer> list = Evals.<Integer>monadPlus(m) .plus(EvalType.widen(Arrays.asEval(5)), EvalType.widen(Arrays.asEval(10))) .convert(EvalType::narrowK); //Arrays.asEval(5))
monadPlus() - Static method in class com.aol.cyclops.hkt.instances.cyclops.FutureWInstances
FutureType<Integer> future = FutureWs.<Integer>monadPlus() .plus(FutureType.widen(FutureW.future()), FutureType.widen(FutureW.ofResult(10))) .convert(FutureType::narrowK); //FutureW[10]
monadPlus(Monoid<FutureType<T>>) - Static method in class com.aol.cyclops.hkt.instances.cyclops.FutureWInstances
Monoid<FutureType<Integer>> m = Monoid.of(FutureType.widen(FutureW.future()()), (a,b)->a.isDone() ? b : a); FutureType<Integer> future = FutureWs.<Integer>monadPlus(m) .plus(FutureType.widen(FutureW.ofResult(5)), FutureType.widen(FutureW.ofResult(10))) .convert(FutureType::narrowK); //FutureW(5)
monadPlus() - Static method in class com.aol.cyclops.hkt.instances.cyclops.MaybeInstances
MaybeType<Integer> maybe = Maybes.<Integer>monadPlus() .plus(MaybeType.widen(Maybe.just()), MaybeType.widen(Maybe.just(10))) .convert(MaybeType::narrowK); //Maybe.just(10))
monadPlus(Monoid<MaybeType<T>>) - Static method in class com.aol.cyclops.hkt.instances.cyclops.MaybeInstances
Monoid<MaybeType<Integer>> m = Monoid.of(MaybeType.widen(Maybe.just()), (a,b)->a.isEmpty() ? b : a); MaybeType<Integer> maybe = Maybes.<Integer>monadPlus(m) .plus(MaybeType.widen(Maybe.just(5)), MaybeType.widen(Maybe.just(10))) .convert(MaybeType::narrowK); //Maybe[5]
monadPlus(Monad<CRE>, Monoid<Higher<CRE, ?>>) - Static method in interface com.aol.cyclops.hkt.instances.General
 
monadPlus(MonadZero<CRE>, Monoid<Higher<CRE, A>>) - Static method in interface com.aol.cyclops.hkt.instances.General
 
monadPlus() - Static method in class com.aol.cyclops.hkt.instances.jdk.CompletableFutureInstances
CompletableFutureType<Integer> future = CompletableFutures.<Integer>monadPlus() .plus(CompletableFutureType.widen(CompletableFuture.completedFuture()), CompletableFutureType.widen(CompletableFuture.completedFuture(10))) .convert(CompletableFutureType::narrowK); //CompletableFuture.completedFuture(10))
monadPlus(Monoid<CompletableFutureType<T>>) - Static method in class com.aol.cyclops.hkt.instances.jdk.CompletableFutureInstances
Monoid<CompletableFutureType<Integer>> m = Monoid.of(CompletableFutureType.widen(CompletableFuture.completedFuture()), (a,b)->a.isEmpty() ? b : a); CompletableFutureType<Integer> future = CompletableFutures.<Integer>monadPlus(m) .plus(CompletableFutureType.widen(CompletableFuture.completedFuture(5)), CompletableFutureType.widen(CompletableFuture.completedFuture(10))) .convert(CompletableFutureType::narrowK); //CompletableFuture.completedFuture(5))
monadPlus() - Static method in class com.aol.cyclops.hkt.instances.jdk.DequeInstances
DequeType<Integer> list = Deques.<Integer>monadPlus() .plus(DequeType.widen(DequeX.of()), DequeType.widen(DequeX.of(10))) .convert(DequeType::narrowK); //DequeX.of(10))
monadPlus(Monoid<DequeType<T>>) - Static method in class com.aol.cyclops.hkt.instances.jdk.DequeInstances
Monoid<DequeType<Integer>> m = Monoid.of(DequeType.widen(DequeX.of()), (a,b)->a.isEmpty() ? b : a); DequeType<Integer> list = Deques.<Integer>monadPlus(m) .plus(DequeType.widen(DequeX.of(5)), DequeType.widen(DequeX.of(10))) .convert(DequeType::narrowK); //DequeX.of(5))
monadPlus() - Static method in class com.aol.cyclops.hkt.instances.jdk.ListInstances
ListType<Integer> list = Lists.<Integer>monadPlus() .plus(ListType.widen(Arrays.asList()), ListType.widen(Arrays.asList(10))) .convert(ListType::narrowK); //Arrays.asList(10))
monadPlus(Monoid<ListType<T>>) - Static method in class com.aol.cyclops.hkt.instances.jdk.ListInstances
Monoid<ListType<Integer>> m = Monoid.of(ListType.widen(Arrays.asList()), (a,b)->a.isEmpty() ? b : a); ListType<Integer> list = Lists.<Integer>monadPlus(m) .plus(ListType.widen(Arrays.asList(5)), ListType.widen(Arrays.asList(10))) .convert(ListType::narrowK); //Arrays.asList(5))
monadPlus() - Static method in class com.aol.cyclops.hkt.instances.jdk.OptionalInstances
OptionalType<Integer> list = Optionals.<Integer>monadPlus() .plus(OptionalType.widen(Arrays.asOptional()), OptionalType.widen(Arrays.asOptional(10))) .convert(OptionalType::narrowK); //Arrays.asOptional(10))
monadPlus(Monoid<OptionalType<T>>) - Static method in class com.aol.cyclops.hkt.instances.jdk.OptionalInstances
Monoid<OptionalType<Integer>> m = Monoid.of(OptionalType.widen(Arrays.asOptional()), (a,b)->a.isEmpty() ? b : a); OptionalType<Integer> list = Optionals.<Integer>monadPlus(m) .plus(OptionalType.widen(Arrays.asOptional(5)), OptionalType.widen(Arrays.asOptional(10))) .convert(OptionalType::narrowK); //Arrays.asOptional(5))
monadPlus() - Static method in class com.aol.cyclops.hkt.instances.jdk.QueueInstances
QueueType<Integer> queue = Queues.<Integer>monadPlus() .plus(QueueType.widen(QueueX.of()), QueueType.widen(QueueX.of(10))) .convert(QueueType::narrowK); //QueueX.of(10))
monadPlus(Monoid<QueueType<T>>) - Static method in class com.aol.cyclops.hkt.instances.jdk.QueueInstances
Monoid<QueueType<Integer>> m = Monoid.of(QueueType.widen(QueueX.of()), (a,b)->a.isEmpty() ? b : a); QueueType<Integer> queue = Queues.<Integer>monadPlus(m) .plus(QueueType.widen(QueueX.of(5)), QueueType.widen(QueueX.of(10))) .convert(QueueType::narrowK); //QueueX.of(5))
monadPlus() - Static method in class com.aol.cyclops.hkt.instances.jdk.StreamInstances
StreamType<Integer> list = Streams.<Integer>monadPlus() .plus(StreamType.widen(Stream.of()), StreamType.widen(Stream.of(10))) .convert(StreamType::narrowK); //Stream.of(10))
monadPlus(Monoid<StreamType<T>>) - Static method in class com.aol.cyclops.hkt.instances.jdk.StreamInstances
Monoid<StreamType<Integer>> m = Monoid.of(StreamType.widen(Stream.of()), (a,b)->a.isEmpty() ? b : a); StreamType<Integer> list = Streams.<Integer>monadPlus(m) .plus(StreamType.widen(Stream.of(5)), StreamType.widen(Stream.of(10))) .convert(StreamType::narrowK); //Stream.of(5))
monadPlus() - Static method in class com.aol.cyclops.hkt.instances.pcollections.PQueueInstances
PQueueType<Integer> list = PQueues.<Integer>monadPlus() .plus(PQueueType.widen(Arrays.asPQueue()), PQueueType.widen(Arrays.asPQueue(10))) .convert(PQueueType::narrowK); //Arrays.asPQueue(10))
monadPlus(Monoid<PQueueType<T>>) - Static method in class com.aol.cyclops.hkt.instances.pcollections.PQueueInstances
Monoid<PQueueType<Integer>> m = Monoid.of(PQueueType.widen(Arrays.asPQueue()), (a,b)->a.isEmpty() ? b : a); PQueueType<Integer> list = PQueues.<Integer>monadPlus(m) .plus(PQueueType.widen(Arrays.asPQueue(5)), PQueueType.widen(Arrays.asPQueue(10))) .convert(PQueueType::narrowK); //Arrays.asPQueue(5))
monadPlus() - Static method in class com.aol.cyclops.hkt.instances.pcollections.PStackInstances
PStackType<Integer> list = PStacks.<Integer>monadPlus() .plus(PStackType.widen(Arrays.asPStack()), PStackType.widen(Arrays.asPStack(10))) .convert(PStackType::narrowK); //Arrays.asPStack(10))
monadPlus(Monoid<PStackType<T>>) - Static method in class com.aol.cyclops.hkt.instances.pcollections.PStackInstances
Monoid<PStackType<Integer>> m = Monoid.of(PStackType.widen(Arrays.asPStack()), (a,b)->a.isEmpty() ? b : a); PStackType<Integer> list = PStacks.<Integer>monadPlus(m) .plus(PStackType.widen(Arrays.asPStack(5)), PStackType.widen(Arrays.asPStack(10))) .convert(PStackType::narrowK); //Arrays.asPStack(5))
monadPlus() - Static method in class com.aol.cyclops.hkt.instances.pcollections.PVectorInstances
PVectorType<Integer> list = PVectors.<Integer>monadPlus() .plus(PVectorType.widen(Arrays.asPVector()), PVectorType.widen(Arrays.asPVector(10))) .convert(PVectorType::narrowK); //Arrays.asPVector(10))
monadPlus(Monoid<PVectorType<T>>) - Static method in class com.aol.cyclops.hkt.instances.pcollections.PVectorInstances
Monoid<PVectorType<Integer>> m = Monoid.of(PVectorType.widen(Arrays.asPVector()), (a,b)->a.isEmpty() ? b : a); PVectorType<Integer> list = PVectors.<Integer>monadPlus(m) .plus(PVectorType.widen(Arrays.asPVector(5)), PVectorType.widen(Arrays.asPVector(10))) .convert(PVectorType::narrowK); //Arrays.asPVector(5))
MonadPlus<CRE> - Interface in com.aol.cyclops.hkt.typeclasses.monad
 
monadZero() - Static method in class com.aol.cyclops.hkt.instances.cyclops.EvalInstances
EvalType<String> list = Evals.unit() .unit("hello") .then(h->Evals.monadZero().filter((String t)->t.startsWith("he"), h)) .convert(EvalType::narrowK); //Arrays.asEval("hello"));
monadZero() - Static method in class com.aol.cyclops.hkt.instances.cyclops.FutureWInstances
FutureType<String> future = FutureWs.unit() .unit("hello") .then(h->FutureWs.monadZero().filter((String t)->t.startsWith("he"), h)) .convert(FutureType::narrowK); //FutureW["hello"]
monadZero() - Static method in class com.aol.cyclops.hkt.instances.cyclops.MaybeInstances
MaybeType<String> maybe = Maybes.unit() .unit("hello") .then(h->Maybes.monadZero().filter((String t)->t.startsWith("he"), h)) .convert(MaybeType::narrowK); //Maybe.just("hello"));
monadZero(Monad<CRE>, Higher<CRE, A>) - Static method in interface com.aol.cyclops.hkt.instances.General
 
monadZero(Monad<CRE>, Supplier<Higher<CRE, A>>, BiFunction<Higher<CRE, A>, Predicate<? super A>, Higher<CRE, A>>) - Static method in interface com.aol.cyclops.hkt.instances.General
 
monadZero() - Static method in class com.aol.cyclops.hkt.instances.jdk.CompletableFutureInstances
CompletableFutureType<String> future = CompletableFutures.unit() .unit("hello") .then(h->CompletableFutures.monadZero().filter((String t)->t.startsWith("he"), h)) .convert(CompletableFutureType::narrowK); //CompletableFuture.completedFuture("hello"));
monadZero() - Static method in class com.aol.cyclops.hkt.instances.jdk.DequeInstances
DequeType<String> list = Deques.unit() .unit("hello") .then(h->Deques.monadZero().filter((String t)->t.startsWith("he"), h)) .convert(DequeType::narrowK); //DequeX.of("hello"));
monadZero() - Static method in class com.aol.cyclops.hkt.instances.jdk.ListInstances
ListType<String> list = Lists.unit() .unit("hello") .then(h->Lists.monadZero().filter((String t)->t.startsWith("he"), h)) .convert(ListType::narrowK); //Arrays.asList("hello"));
monadZero() - Static method in class com.aol.cyclops.hkt.instances.jdk.OptionalInstances
OptionalType<String> list = Optionals.unit() .unit("hello") .then(h->Optionals.monadZero().filter((String t)->t.startsWith("he"), h)) .convert(OptionalType::narrowK); //Arrays.asOptional("hello"));
monadZero() - Static method in class com.aol.cyclops.hkt.instances.jdk.QueueInstances
QueueType<String> queue = Queues.unit() .unit("hello") .then(h->Queues.monadZero().filter((String t)->t.startsWith("he"), h)) .convert(QueueType::narrowK); //QueueX.of("hello"));
monadZero() - Static method in class com.aol.cyclops.hkt.instances.jdk.StreamInstances
StreamType<String> list = Streams.unit() .unit("hello") .then(h->Streams.monadZero().filter((String t)->t.startsWith("he"), h)) .convert(StreamType::narrowK); //Stream.of("hello"));
monadZero() - Static method in class com.aol.cyclops.hkt.instances.pcollections.PQueueInstances
PQueueType<String> list = PQueues.unit() .unit("hello") .then(h->PQueues.monadZero().filter((String t)->t.startsWith("he"), h)) .convert(PQueueType::narrowK); //Arrays.asPQueue("hello"));
monadZero() - Static method in class com.aol.cyclops.hkt.instances.pcollections.PStackInstances
PStackType<String> list = PStacks.unit() .unit("hello") .then(h->PStacks.monadZero().filter((String t)->t.startsWith("he"), h)) .convert(PStackType::narrowK); //Arrays.asPStack("hello"));
monadZero() - Static method in class com.aol.cyclops.hkt.instances.pcollections.PVectorInstances
PVectorType<String> list = PVectors.unit() .unit("hello") .then(h->PVectors.monadZero().filter((String t)->t.startsWith("he"), h)) .convert(PVectorType::narrowK); //Arrays.asPVector("hello"));
MonadZero<CRE> - Interface in com.aol.cyclops.hkt.typeclasses.monad
A filterable monad The zero() operator is used to replace supplied HKT with it's zero / empty equivalent when filtered out
monoid() - Method in class com.aol.cyclops.hkt.instances.General.GeneralMonadPlus
 
monoid() - Method in class com.aol.cyclops.hkt.instances.General.SupplierMonadPlus
 
monoid() - Method in interface com.aol.cyclops.hkt.typeclasses.monad.MonadPlus
 

N

narrow() - Method in class com.aol.cyclops.hkt.cyclops.EvalType.Box
 
narrow(Higher<EvalType.µ, T>) - Static method in interface com.aol.cyclops.hkt.cyclops.EvalType
Convert the HigherKindedType definition for a Eval into
narrow(Higher<FutureType.µ, T>) - Static method in class com.aol.cyclops.hkt.cyclops.FutureType
Convert the HigherKindedType definition for a FutureW into
narrow() - Method in class com.aol.cyclops.hkt.cyclops.FutureType
 
narrow() - Method in class com.aol.cyclops.hkt.cyclops.MaybeType.Box
 
narrow(Higher<MaybeType.µ, T>) - Static method in interface com.aol.cyclops.hkt.cyclops.MaybeType
Convert the HigherKindedType definition for a Maybe into
narrow() - Method in class com.aol.cyclops.hkt.cyclops.XorType.Box
 
narrow(Higher2<XorType.µ, ST, PT>) - Static method in interface com.aol.cyclops.hkt.cyclops.XorType
Convert the HigherKindedType definition for a Xor into
narrow() - Method in class com.aol.cyclops.hkt.pcollections.PQueueType.Box
 
narrow(Higher<PQueueType.µ, T>) - Static method in interface com.aol.cyclops.hkt.pcollections.PQueueType
Convert the HigherKindedType definition for a PQueue into
narrow() - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
narrow(Higher<PStackType.µ, T>) - Static method in interface com.aol.cyclops.hkt.pcollections.PStackType
Convert the HigherKindedType definition for a PStack into
narrow() - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 
narrow(Higher<PVectorType.µ, T>) - Static method in interface com.aol.cyclops.hkt.pcollections.PVectorType
Convert the HigherKindedType definition for a PVector into
narrow(Higher<CRE, Function<? super T, ? extends R>>) - Static method in interface com.aol.cyclops.hkt.typeclasses.monad.Applicative
Narrow the co/contra variance on Function stored within a HKT encoded type
narrow2(Higher<CRE, Function<? super T, ? extends Function<? super T2, ? extends R>>>) - Static method in interface com.aol.cyclops.hkt.typeclasses.monad.Applicative
Narrow the co/contra variance on Function stored within a HKT encoded type
narrow3(Higher<CRE, Function<? super T, ? extends Function<? super T2, ? extends Function<? super T3, ? extends R>>>>) - Static method in interface com.aol.cyclops.hkt.typeclasses.monad.Applicative
Narrow the co/contra variance on Function stored within a HKT encoded type
narrowBiFn(Higher<CRE, BiFunction<? super T, ? super T2, ? extends R>>, Higher<CRE, T>, Higher<CRE, T2>) - Static method in interface com.aol.cyclops.hkt.typeclasses.monad.Applicative
Narrow the co/contra variance on BiFunction stored within a HKT encoded type
narrowCompletableFuture(Higher<FutureType.µ, T>) - Static method in class com.aol.cyclops.hkt.cyclops.FutureType
Convert the HigherKindedType definition for a FutureW into
narrowK(Higher<EvalType.µ, T>) - Static method in interface com.aol.cyclops.hkt.cyclops.EvalType
Convert the raw Higher Kinded Type for MaybeType types into the MaybeType type definition class
narrowK(Higher<FutureType.µ, T>) - Static method in class com.aol.cyclops.hkt.cyclops.FutureType
Convert the raw Higher Kinded Type for FutureType types into the FutureType type definition class
narrowK(Higher<MaybeType.µ, T>) - Static method in interface com.aol.cyclops.hkt.cyclops.MaybeType
Convert the raw Higher Kinded Type for MaybeType types into the MaybeType type definition class
narrowK(Higher2<XorType.µ, ST, PT>) - Static method in interface com.aol.cyclops.hkt.cyclops.XorType
Convert the raw Higher Kinded Type for XorType types into the XorType type definition class
narrowK(Higher<PQueueType.µ, T>) - Static method in interface com.aol.cyclops.hkt.pcollections.PQueueType
Convert the raw Higher Kinded Type for PQueue types into the PQueueType type definition class
narrowK(Higher<PStackType.µ, T>) - Static method in interface com.aol.cyclops.hkt.pcollections.PStackType
Convert the raw Higher Kinded Type for PStack types into the PStackType type definition class
narrowK(Higher<PVectorType.µ, T>) - Static method in interface com.aol.cyclops.hkt.pcollections.PVectorType
Convert the raw Higher Kinded Type for PVector types into the PVectorType type definition class
narrowMonoid() - Method in interface com.aol.cyclops.hkt.typeclasses.monad.MonadPlus
 
narrowOptional(Higher<MaybeType.µ, T>) - Static method in interface com.aol.cyclops.hkt.cyclops.MaybeType
Convert the HigherKindedType definition for a Maybe into
narrowZero() - Method in interface com.aol.cyclops.hkt.typeclasses.monad.MonadZero
 
nest(Higher<CRE, T>) - Method in interface com.aol.cyclops.hkt.typeclasses.comonad.Comonad
Nest a value inside a value (e.g.
none() - Static method in interface com.aol.cyclops.hkt.cyclops.MaybeType
 
now(T) - Static method in interface com.aol.cyclops.hkt.cyclops.EvalType
Create an Eval with the value specified

O

of(CompletableFuture<T>) - Static method in class com.aol.cyclops.hkt.cyclops.FutureType
Create a FutureType instance from the supplied CompletableFuture
of(T) - Static method in interface com.aol.cyclops.hkt.cyclops.MaybeType
Construct an Maybe which contains the provided (non-null) value Equivalent to @see Maybe.just(Object)
of(T...) - Static method in interface com.aol.cyclops.hkt.pcollections.PQueueType
 
of(T...) - Static method in interface com.aol.cyclops.hkt.pcollections.PStackType
 
of(T...) - Static method in interface com.aol.cyclops.hkt.pcollections.PVectorType
 
ofError(Throwable) - Static method in class com.aol.cyclops.hkt.cyclops.FutureType
Construct a completed-with-error FutureW from the given Exception
offer(T) - Method in class com.aol.cyclops.hkt.pcollections.PQueueType.Box
 
ofNullable(T) - Static method in interface com.aol.cyclops.hkt.cyclops.MaybeType
Maybe<Integer> maybe = Maybe.ofNullable(null); //None Maybe<Integer> maybe = Maybe.ofNullable(10); //Maybe[10], Some[10]
ofResult(T) - Static method in class com.aol.cyclops.hkt.cyclops.FutureType
Construct a successfully completed FutureW from the given value
ofSupplier(Supplier<T>) - Static method in class com.aol.cyclops.hkt.cyclops.FutureType
Create a FutureW object that asyncrhonously populates using the Common ForkJoinPool from the user provided Supplier
ofSupplier(Supplier<T>, Executor) - Static method in class com.aol.cyclops.hkt.cyclops.FutureType
Create a FutureW object that asyncrhonously populates using the provided Executor and Supplier
OptionalInstances - Class in com.aol.cyclops.hkt.instances.jdk
Companion class for creating Type Class instances for working with Optionals
OptionalInstances() - Constructor for class com.aol.cyclops.hkt.instances.jdk.OptionalInstances
 

P

peek(Consumer<? super PT>) - Method in class com.aol.cyclops.hkt.cyclops.XorType.Box
 
peek(Consumer<? super ST>, Consumer<? super PT>) - Method in class com.aol.cyclops.hkt.cyclops.XorType.Box
 
peek() - Method in class com.aol.cyclops.hkt.pcollections.PQueueType.Box
 
peek(Consumer<? super T>, Higher<CRE, T>) - Method in interface com.aol.cyclops.hkt.typeclasses.functor.Functor
 
plus(T) - Method in class com.aol.cyclops.hkt.pcollections.PQueueType.Box
 
plus(T) - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
plus(int, T) - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
plus(T) - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 
plus(int, T) - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 
plus(Higher<CRE, T>, BinaryOperator<Higher<CRE, T>>, Higher<CRE, T>...) - Method in interface com.aol.cyclops.hkt.typeclasses.Combine
 
plus(Higher<CRE, T>, BinaryOperator<Higher<CRE, T>>, Stream<Higher<CRE, T>>) - Method in interface com.aol.cyclops.hkt.typeclasses.Combine
 
plus(Higher<CRE, T>, Higher<CRE, T>) - Method in interface com.aol.cyclops.hkt.typeclasses.monad.MonadPlus
 
plusAll(Collection<? extends T>) - Method in class com.aol.cyclops.hkt.pcollections.PQueueType.Box
 
plusAll(Collection<? extends T>) - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
plusAll(int, Collection<? extends T>) - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
plusAll(Collection<? extends T>) - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 
plusAll(int, Collection<? extends T>) - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 
poll() - Method in class com.aol.cyclops.hkt.pcollections.PQueueType.Box
 
PQueueInstances - Class in com.aol.cyclops.hkt.instances.pcollections
Companion class for creating Type Class instances for working with PQueues
PQueueInstances() - Constructor for class com.aol.cyclops.hkt.instances.pcollections.PQueueInstances
 
PQueueType<T> - Interface in com.aol.cyclops.hkt.pcollections
Simulates Higher Kinded Types for PQueue's PQueueType is a PQueue and a Higher Kinded Type (PQueueType.µ,T)
PQueueType.Box<T> - Class in com.aol.cyclops.hkt.pcollections
 
PQueueType.µ - Class in com.aol.cyclops.hkt.pcollections
Witness type
primary(PT) - Static method in interface com.aol.cyclops.hkt.cyclops.XorType
 
PStackInstances - Class in com.aol.cyclops.hkt.instances.pcollections
Companion class for creating Type Class instances for working with PStacks
PStackInstances() - Constructor for class com.aol.cyclops.hkt.instances.pcollections.PStackInstances
 
PStackType<T> - Interface in com.aol.cyclops.hkt.pcollections
Simulates Higher Kinded Types for PStack's PStackType is a PStack and a Higher Kinded Type (PStackType.µ,T)
PStackType.Box<T> - Class in com.aol.cyclops.hkt.pcollections
 
PStackType.µ - Class in com.aol.cyclops.hkt.pcollections
Witness type
PVectorInstances - Class in com.aol.cyclops.hkt.instances.pcollections
Companion class for creating Type Class instances for working with PVectors
PVectorInstances() - Constructor for class com.aol.cyclops.hkt.instances.pcollections.PVectorInstances
 
PVectorType<T> - Interface in com.aol.cyclops.hkt.pcollections
Simulates Higher Kinded Types for PVector's PVectorType is a PVector and a Higher Kinded Type (PVectorType.µ,T)
PVectorType.Box<T> - Class in com.aol.cyclops.hkt.pcollections
 
PVectorType.µ - Class in com.aol.cyclops.hkt.pcollections
Witness type

Q

QueueInstances - Class in com.aol.cyclops.hkt.instances.jdk
Companion class for creating Type Class instances for working with Queues
QueueInstances() - Constructor for class com.aol.cyclops.hkt.instances.jdk.QueueInstances
 

R

recover(Supplier<T>) - Method in class com.aol.cyclops.hkt.cyclops.MaybeType.Box
 
recover(T) - Method in class com.aol.cyclops.hkt.cyclops.MaybeType.Box
 
remove() - Method in class com.aol.cyclops.hkt.pcollections.PQueueType.Box
 
remove(Object) - Method in class com.aol.cyclops.hkt.pcollections.PQueueType.Box
 
remove(Object) - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
remove(int) - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
remove(Object) - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 
remove(int) - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 
removeAll(Collection<?>) - Method in class com.aol.cyclops.hkt.pcollections.PQueueType.Box
 
removeAll(Collection<?>) - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
removeAll(Collection<?>) - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 
replicate(long, Higher<CRE, T>) - Method in interface com.aol.cyclops.hkt.typeclasses.monad.Monad
 
retainAll(Collection<?>) - Method in class com.aol.cyclops.hkt.pcollections.PQueueType.Box
 
retainAll(Collection<?>) - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
retainAll(Collection<?>) - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 

S

schedule(String, ScheduledExecutorService, Supplier<T>) - Static method in class com.aol.cyclops.hkt.cyclops.FutureType
Schedule the population of a FutureW from the provided Supplier, the provided Cron (Quartz format) expression will be used to trigger the population of the FutureW.
schedule(long, ScheduledExecutorService, Supplier<T>) - Static method in class com.aol.cyclops.hkt.cyclops.FutureType
Schedule the population of a FutureW from the provided Supplier after the specified delay.
secondary(ST) - Static method in interface com.aol.cyclops.hkt.cyclops.XorType
 
secondaryFlatMap(Function<? super ST, ? extends Xor<LT1, RT1>>) - Method in class com.aol.cyclops.hkt.cyclops.XorType.Box
 
secondaryGet() - Method in class com.aol.cyclops.hkt.cyclops.XorType.Box
 
secondaryMap(Function<? super ST, ? extends R>) - Method in class com.aol.cyclops.hkt.cyclops.XorType.Box
 
secondaryPeek(Consumer<? super ST>) - Method in class com.aol.cyclops.hkt.cyclops.XorType.Box
 
secondaryToOptional() - Method in class com.aol.cyclops.hkt.cyclops.XorType.Box
 
secondaryToPrimayFlatMap(Function<? super ST, ? extends Xor<ST, PT>>) - Method in class com.aol.cyclops.hkt.cyclops.XorType.Box
 
secondaryToPrimayMap(Function<? super ST, ? extends PT>) - Method in class com.aol.cyclops.hkt.cyclops.XorType.Box
 
secondaryToStream() - Method in class com.aol.cyclops.hkt.cyclops.XorType.Box
 
secondaryValue() - Method in class com.aol.cyclops.hkt.cyclops.XorType.Box
 
sequence(Stream<Higher<CRE, T>>) - Method in interface com.aol.cyclops.hkt.typeclasses.monad.Monad
 
sequenceA(Applicative<C2>, Higher<CRE, Higher<C2, T>>) - Method in class com.aol.cyclops.hkt.instances.General.GeneralTraverse
 
sequenceA(Applicative<C2>, Higher<CRE, Higher<C2, T>>) - Method in interface com.aol.cyclops.hkt.typeclasses.monad.Traverse
 
sequenceA(Applicative<C2>, Higher<CRE, Higher<C2, T>>) - Method in interface com.aol.cyclops.hkt.typeclasses.monad.TraverseBySequence
 
sequenceA(Applicative<C2>, Higher<CRE, Higher<C2, T>>) - Method in interface com.aol.cyclops.hkt.typeclasses.monad.TraverseByTraverse
 
set(int, T) - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
set(int, T) - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 
size() - Method in class com.aol.cyclops.hkt.pcollections.PQueueType.Box
 
size() - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
size() - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 
StreamInstances - Class in com.aol.cyclops.hkt.instances.jdk
Companion class for creating Type Class instances for working with Streams
StreamInstances() - Constructor for class com.aol.cyclops.hkt.instances.jdk.StreamInstances
 
subList(int, int) - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
subList(int) - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
subList(int, int) - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 
SupplierMonadPlus() - Constructor for class com.aol.cyclops.hkt.instances.General.SupplierMonadPlus
 
SupplierMonadZero() - Constructor for class com.aol.cyclops.hkt.instances.General.SupplierMonadZero
 
swap() - Method in class com.aol.cyclops.hkt.cyclops.XorType.Box
 

T

toArray() - Method in class com.aol.cyclops.hkt.pcollections.PQueueType.Box
 
toArray(T[]) - Method in class com.aol.cyclops.hkt.pcollections.PQueueType.Box
 
toArray() - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
toArray(T[]) - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
toArray() - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 
toArray(T[]) - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 
toIor() - Method in class com.aol.cyclops.hkt.cyclops.XorType.Box
 
toString() - Method in class com.aol.cyclops.hkt.cyclops.EvalType.Box
 
toString() - Method in class com.aol.cyclops.hkt.cyclops.MaybeType.Box
 
toString() - Method in class com.aol.cyclops.hkt.cyclops.XorType.Box
 
traverse() - Static method in class com.aol.cyclops.hkt.instances.cyclops.EvalInstances
 
traverse() - Static method in class com.aol.cyclops.hkt.instances.cyclops.FutureWInstances
 
traverse() - Static method in class com.aol.cyclops.hkt.instances.cyclops.MaybeInstances
 
traverse(Applicative<CRE>, BiFunction<Applicative<C2>, Higher<CRE, Higher<C2, T>>, Higher<C2, Higher<CRE, T>>>) - Static method in interface com.aol.cyclops.hkt.instances.General
 
traverse() - Static method in class com.aol.cyclops.hkt.instances.jdk.CompletableFutureInstances
 
traverse() - Static method in class com.aol.cyclops.hkt.instances.jdk.DequeInstances
 
traverse() - Static method in class com.aol.cyclops.hkt.instances.jdk.ListInstances
 
traverse() - Static method in class com.aol.cyclops.hkt.instances.jdk.OptionalInstances
 
traverse() - Static method in class com.aol.cyclops.hkt.instances.jdk.QueueInstances
 
traverse() - Static method in class com.aol.cyclops.hkt.instances.jdk.StreamInstances
 
traverse() - Static method in class com.aol.cyclops.hkt.instances.pcollections.PQueueInstances
 
traverse() - Static method in class com.aol.cyclops.hkt.instances.pcollections.PStackInstances
 
traverse() - Static method in class com.aol.cyclops.hkt.instances.pcollections.PVectorInstances
 
traverse(Function<T, R>, Stream<Higher<CRE, T>>) - Method in interface com.aol.cyclops.hkt.typeclasses.monad.Monad
 
Traverse<CRE> - Interface in com.aol.cyclops.hkt.typeclasses.monad
 
traverseA(Applicative<C2>, Function<? super T, ? extends Higher<C2, R>>, Higher<CRE, T>) - Method in class com.aol.cyclops.hkt.instances.General.GeneralTraverseByTraverse
 
traverseA(Applicative<C2>, Function<? super T, ? extends Higher<C2, R>>, Higher<CRE, T>) - Method in interface com.aol.cyclops.hkt.typeclasses.monad.Traverse
 
traverseA(Applicative<C2>, Function<? super T, ? extends Higher<C2, R>>, Higher<CRE, T>) - Method in interface com.aol.cyclops.hkt.typeclasses.monad.TraverseBySequence
 
traverseA(Applicative<C2>, Function<? super T, ? extends Higher<C2, R>>, Higher<CRE, T>) - Method in interface com.aol.cyclops.hkt.typeclasses.monad.TraverseByTraverse
 
TraverseBySequence<CRE> - Interface in com.aol.cyclops.hkt.typeclasses.monad
 
traverseByTraverse(Applicative<CRE>, TriFunction<Applicative<C2>, Function<T, Higher<C2, R>>, Higher<CRE, T>, Higher<C2, Higher<CRE, R>>>) - Static method in interface com.aol.cyclops.hkt.instances.General
 
TraverseByTraverse<CRE> - Interface in com.aol.cyclops.hkt.typeclasses.monad
 

U

unit(T) - Method in class com.aol.cyclops.hkt.cyclops.EvalType.Box
 
unit() - Static method in class com.aol.cyclops.hkt.instances.cyclops.EvalInstances
EvalType<String> list = Evals.unit() .unit("hello") .convert(EvalType::narrowK); //Arrays.asEval("hello"))
unit() - Static method in class com.aol.cyclops.hkt.instances.cyclops.FutureWInstances
FutureType<String> future = FutureWs.unit() .unit("hello") .convert(FutureType::narrowK); //FutureW("hello")
unit() - Static method in class com.aol.cyclops.hkt.instances.cyclops.MaybeInstances
MaybeType<String> maybe = Maybes.unit() .unit("hello") .convert(MaybeType::narrowK); //Maybe.just("hello"))
unit(T) - Method in class com.aol.cyclops.hkt.instances.General.GeneralApplicative
 
unit(T) - Method in class com.aol.cyclops.hkt.instances.General.GeneralComonad
 
unit(T) - Method in class com.aol.cyclops.hkt.instances.General.GeneralMonad
 
unit(T) - Method in class com.aol.cyclops.hkt.instances.General.GeneralMonadPlus
 
unit(T) - Method in class com.aol.cyclops.hkt.instances.General.GeneralMonadZero
 
unit(T) - Method in class com.aol.cyclops.hkt.instances.General.GeneralTraverse
 
unit(T) - Method in class com.aol.cyclops.hkt.instances.General.GeneralTraverseByTraverse
 
unit(T) - Method in class com.aol.cyclops.hkt.instances.General.GeneralUnit
 
unit(T) - Method in class com.aol.cyclops.hkt.instances.General.SupplierMonadPlus
 
unit(T) - Method in class com.aol.cyclops.hkt.instances.General.SupplierMonadZero
 
unit(Function<A, Higher<CRE, A>>) - Static method in interface com.aol.cyclops.hkt.instances.General
 
unit() - Static method in class com.aol.cyclops.hkt.instances.jdk.CompletableFutureInstances
CompletableFutureType<String> future = CompletableFutures.unit() .unit("hello") .convert(CompletableFutureType::narrowK); //CompletableFuture.completedFuture("hello"))
unit() - Static method in class com.aol.cyclops.hkt.instances.jdk.DequeInstances
DequeType<String> list = Deques.unit() .unit("hello") .convert(DequeType::narrowK); //DequeX.of("hello"))
unit() - Static method in class com.aol.cyclops.hkt.instances.jdk.ListInstances
ListType<String> list = Lists.unit() .unit("hello") .convert(ListType::narrowK); //Arrays.asList("hello"))
unit() - Static method in class com.aol.cyclops.hkt.instances.jdk.OptionalInstances
OptionalType<String> list = Optionals.unit() .unit("hello") .convert(OptionalType::narrowK); //Arrays.asOptional("hello"))
unit() - Static method in class com.aol.cyclops.hkt.instances.jdk.QueueInstances
QueueType<String> queue = Queues.unit() .unit("hello") .convert(QueueType::narrowK); //QueueX.of("hello"))
unit() - Static method in class com.aol.cyclops.hkt.instances.jdk.StreamInstances
StreamType<String> list = Streams.unit() .unit("hello") .convert(StreamType::narrowK); //Stream.of("hello"))
unit() - Static method in class com.aol.cyclops.hkt.instances.pcollections.PQueueInstances
PQueueType<String> list = PQueues.unit() .unit("hello") .convert(PQueueType::narrowK); //Arrays.asPQueue("hello"))
unit() - Static method in class com.aol.cyclops.hkt.instances.pcollections.PStackInstances
PStackType<String> list = PStacks.unit() .unit("hello") .convert(PStackType::narrowK); //Arrays.asPStack("hello"))
unit() - Static method in class com.aol.cyclops.hkt.instances.pcollections.PVectorInstances
PVectorType<String> list = PVectors.unit() .unit("hello") .convert(PVectorType::narrowK); //Arrays.asPVector("hello"))
Unit<CRE> - Interface in com.aol.cyclops.hkt.typeclasses
Type class for creating instances of types
unit(T) - Method in interface com.aol.cyclops.hkt.typeclasses.Unit
Create a new instance of the core type (e.g.

V

visit(Function<? super T, ? extends R>, Supplier<? extends R>) - Method in class com.aol.cyclops.hkt.cyclops.MaybeType.Box
 
visit(Function<? super ST, ? extends R>, Function<? super PT, ? extends R>) - Method in class com.aol.cyclops.hkt.cyclops.XorType.Box
 

W

widen(Eval<T>) - Static method in interface com.aol.cyclops.hkt.cyclops.EvalType
Convert a Eval to a simulated HigherKindedType that captures Eval nature and Eval element data type separately.
widen(FutureW<T>) - Static method in class com.aol.cyclops.hkt.cyclops.FutureType
Convert a FutureW to a simulated HigherKindedType that captures FutureW nature and FutureW element data type separately.
widen(Optional<T>) - Static method in interface com.aol.cyclops.hkt.cyclops.MaybeType
Convert a Optional to a simulated HigherKindedType that captures Optional nature and Optional element data type separately.
widen(Maybe<T>) - Static method in interface com.aol.cyclops.hkt.cyclops.MaybeType
Convert a Maybe to a simulated HigherKindedType that captures Maybe nature and Maybe element data type separately.
widen(Xor<ST, PT>) - Static method in interface com.aol.cyclops.hkt.cyclops.XorType
Convert a Xor to a simulated HigherKindedType that captures Xor nature and Xor element data type separately.
widen(PQueue<T>) - Static method in interface com.aol.cyclops.hkt.pcollections.PQueueType
Convert a PQueue to a simulated HigherKindedType that captures PQueue nature and PQueue element data type separately.
widen(PStack<T>) - Static method in interface com.aol.cyclops.hkt.pcollections.PStackType
Convert a PStack to a simulated HigherKindedType that captures PStack nature and PStack element data type separately.
widen(PVector<T>) - Static method in interface com.aol.cyclops.hkt.pcollections.PVectorType
Convert a PVector to a simulated HigherKindedType that captures PVector nature and PVector element data type separately.
widen2(Higher<C2, MaybeType<T>>) - Static method in interface com.aol.cyclops.hkt.cyclops.MaybeType
 
widen2(Higher<C2, XorType<ST, PT>>) - Static method in interface com.aol.cyclops.hkt.cyclops.XorType
 
widen2(Higher<C2, PQueueType<T>>) - Static method in interface com.aol.cyclops.hkt.pcollections.PQueueType
Widen a PQueueType nested inside another HKT encoded type
widen2(Higher<C2, PStackType<T>>) - Static method in interface com.aol.cyclops.hkt.pcollections.PStackType
Widen a PStackType nested inside another HKT encoded type
widen2(Higher<C2, PVectorType<T>>) - Static method in interface com.aol.cyclops.hkt.pcollections.PVectorType
Widen a PVectorType nested inside another HKT encoded type
with(int, T) - Method in class com.aol.cyclops.hkt.pcollections.PStackType.Box
 
with(int, T) - Method in class com.aol.cyclops.hkt.pcollections.PVectorType.Box
 

X

XorType<ST,PT> - Interface in com.aol.cyclops.hkt.cyclops
Simulates Higher Kinded Types for Xor's XorType is a Xor and a Higher Kinded Type (XorType.µ,T)
XorType.Box<ST,PT> - Class in com.aol.cyclops.hkt.cyclops
 
XorType.µ - Class in com.aol.cyclops.hkt.cyclops
Witness type

Z

zero() - Method in class com.aol.cyclops.hkt.instances.General.GeneralMonadZero
 
zero() - Method in class com.aol.cyclops.hkt.instances.General.SupplierMonadPlus
 
zero() - Method in class com.aol.cyclops.hkt.instances.General.SupplierMonadZero
 
zero() - Method in interface com.aol.cyclops.hkt.typeclasses.monad.MonadPlus
 
zero() - Method in interface com.aol.cyclops.hkt.typeclasses.monad.MonadZero
e.g.
zippingApplicative() - Static method in class com.aol.cyclops.hkt.instances.jdk.DequeInstances
import static com.aol.cyclops.hkt.jdk.DequeType.widen; import static com.aol.cyclops.util.function.Lambda.l1; import static java.util.DequeX.of; Deques.zippingApplicative() .ap(widen(asDeque(l1(this::multiplyByTwo))),widen(asDeque(1,2,3))); //[2,4,6]
zippingApplicative() - Static method in class com.aol.cyclops.hkt.instances.jdk.ListInstances
import static com.aol.cyclops.hkt.jdk.ListType.widen; import static com.aol.cyclops.util.function.Lambda.l1; import static java.util.Arrays.asList; Lists.zippingApplicative() .ap(widen(asList(l1(this::multiplyByTwo))),widen(asList(1,2,3))); //[2,4,6]
zippingApplicative() - Static method in class com.aol.cyclops.hkt.instances.jdk.QueueInstances
import static com.aol.cyclops.hkt.jdk.QueueType.widen; import static com.aol.cyclops.util.function.Lambda.l1; import static java.util.QueueX.of; Queues.zippingApplicative() .ap(widen(asQueue(l1(this::multiplyByTwo))),widen(asQueue(1,2,3))); //[2,4,6]
zippingApplicative() - Static method in class com.aol.cyclops.hkt.instances.jdk.StreamInstances
import static com.aol.cyclops.hkt.jdk.StreamType.widen; import static com.aol.cyclops.util.function.Lambda.l1; Streams.zippingApplicative() .ap(widen(Stream.of(l1(this::multiplyByTwo))),widen(Stream.of(1,2,3))); //[2,4,6]
zippingApplicative() - Static method in class com.aol.cyclops.hkt.instances.pcollections.PQueueInstances
import static com.aol.cyclops.hkt.jdk.PQueueType.widen; import static com.aol.cyclops.util.function.Lambda.l1; import static java.util.Arrays.asPQueue; PQueues.zippingApplicative() .ap(widen(asPQueue(l1(this::multiplyByTwo))),widen(asPQueue(1,2,3))); //[2,4,6]
zippingApplicative() - Static method in class com.aol.cyclops.hkt.instances.pcollections.PStackInstances
import static com.aol.cyclops.hkt.jdk.PStackType.widen; import static com.aol.cyclops.util.function.Lambda.l1; import static java.util.Arrays.asPStack; PStacks.zippingApplicative() .ap(widen(asPStack(l1(this::multiplyByTwo))),widen(asPStack(1,2,3))); //[2,4,6]
zippingApplicative() - Static method in class com.aol.cyclops.hkt.instances.pcollections.PVectorInstances
import static com.aol.cyclops.hkt.jdk.PVectorType.widen; import static com.aol.cyclops.util.function.Lambda.l1; import static java.util.Arrays.asPVector; PVectors.zippingApplicative() .ap(widen(asPVector(l1(this::multiplyByTwo))),widen(asPVector(1,2,3))); //[2,4,6]

Μ

µ() - Constructor for class com.aol.cyclops.hkt.cyclops.EvalType.µ
 
µ() - Constructor for class com.aol.cyclops.hkt.cyclops.FutureType.µ
 
µ() - Constructor for class com.aol.cyclops.hkt.cyclops.MaybeType.µ
 
µ() - Constructor for class com.aol.cyclops.hkt.cyclops.XorType.µ
 
µ() - Constructor for class com.aol.cyclops.hkt.pcollections.PQueueType.µ
 
µ() - Constructor for class com.aol.cyclops.hkt.pcollections.PStackType.µ
 
µ() - Constructor for class com.aol.cyclops.hkt.pcollections.PVectorType.µ
 
A B C D E F G H I J L M N O P Q R S T U V W X Z Μ 
Skip navigation links