Uses of Interface
com.github.tonivade.purefun.core.Producer
Packages that use Producer
Package
Description
-
Uses of Producer in com.github.tonivade.purefun.concurrent
Methods in com.github.tonivade.purefun.concurrent with parameters of type Producer -
Uses of Producer in com.github.tonivade.purefun.core
Classes in com.github.tonivade.purefun.core that implement ProducerFields in com.github.tonivade.purefun.core declared as ProducerModifier and TypeFieldDescriptionprivate final Producer<Trampoline<T>> Trampoline.More.nextThe field for thenextrecord component.Methods in com.github.tonivade.purefun.core that return ProducerModifier and TypeMethodDescriptiondefault <R> Producer<R> CheckedRunnable.asProducer()static <T> Producer<T> Producer.cons(T value) default <R> Producer<R> Producer.liftEither()Producer.liftOption()Producer.liftTry()default <R> Producer<R> MemoizedProducer.memoized()Producer.memoized()Trampoline.More.next()Returns the value of thenextrecord component.static <T> Producer<T> static <T> Producer<T> ProducerOf.toProducer(Kind<Producer<?>, ? extends T> value) Methods in com.github.tonivade.purefun.core with parameters of type ProducerModifier and TypeMethodDescriptionstatic voidPrecondition.check(Precondition precondition, Producer<String> message) static <A,T> Function1 <A, T> static <X extends Throwable>
CheckedRunnablestatic <E,T> Validator <E, T> static <T extends Comparable<T>>
Validator<String, T> Validator.greaterThan(T min, Producer<String> message) static <T extends Comparable<T>>
Validator<String, T> Validator.greaterThanOrEqual(T min, Producer<String> message) Validator.instanceOf(Class<?> clazz, Producer<String> message) static <E> Function1<Validation.Result<E>, String> static <E> Function1<Validation.Result<E>, String> static <T extends Comparable<T>>
Validator<String, T> static <T extends Comparable<T>>
Validator<String, T> Validator.lowerThanOrEqual(T max, Producer<String> message) static <T> Trampoline<T> Trampoline.more(Producer<Trampoline<T>> next) static <T extends Comparable<T>>
Validator<String, T> Validator.nonNullAnd(Producer<String> message, Validator<String, T> then) Validator.notEqualsTo(T expected, Producer<String> message) static <T> Producer<T> static <X extends RuntimeException>
voidPrecondition.require(Precondition precondition, Producer<? extends X> exception) Validator.startsWith(String prefix, Producer<String> message) Method parameters in com.github.tonivade.purefun.core with type arguments of type ProducerModifier and TypeMethodDescriptiondefault <R> Producer<R> static <T> Producer<T> ProducerOf.toProducer(Kind<Producer<?>, ? extends T> value) Constructors in com.github.tonivade.purefun.core with parameters of type ProducerModifierConstructorDescription(package private)MemoizedProducer(Producer<? extends T> producer) More(Producer<Trampoline<T>> next) Creates an instance of aMorerecord class. -
Uses of Producer in com.github.tonivade.purefun.data
Methods in com.github.tonivade.purefun.data with parameters of type ProducerModifier and TypeMethodDescriptiondefault VImmutableMap.getOrDefault(K key, Producer<? extends V> supplier) default VImmutableTreeMap.getOrDefault(K key, Producer<? extends V> supplier) -
Uses of Producer in com.github.tonivade.purefun.effect
Fields in com.github.tonivade.purefun.effect declared as ProducerMethods in com.github.tonivade.purefun.effect with parameters of type ProducerModifier and TypeMethodDescriptionstatic <E,A> EIO <E, A> static <R,E, A> PureIO <R, E, A> static <R,A> RIO <R, A> static <A> Task<A> static <A> UIO<A> static <R,A> URIO <R, A> static <E,A> EIO <E, A> EIO.fromEither(Producer<Either<E, ? extends A>> task) static <R,E, A> PureIO <R, E, A> PureIO.fromEither(Producer<Either<E, ? extends A>> task) static <R,A> RIO <R, A> RIO.fromEither(Producer<Either<Throwable, ? extends A>> task) static <A> Task<A> Task.fromEither(Producer<Either<Throwable, ? extends A>> task) EIO.fromOption(Producer<Option<? extends A>> task) PureIO.fromOption(Producer<Option<? extends A>> task) static <R,A> RIO <R, A> RIO.fromOption(Producer<Option<? extends A>> task) static <A> Task<A> Task.fromOption(Producer<Option<? extends A>> task) static <R,A> RIO <R, A> static <A> Task<A> static <R,E, A> PureIO <R, E, A> static <R,A> RIO <R, A> static <A> Task<A> static <A> UIO<A> static <R,A> URIO <R, A> Constructors in com.github.tonivade.purefun.effect with parameters of type Producer -
Uses of Producer in com.github.tonivade.purefun.free
Methods in com.github.tonivade.purefun.free with parameters of type Producer -
Uses of Producer in com.github.tonivade.purefun.instances
Methods in com.github.tonivade.purefun.instances that return types with arguments of type ProducerModifier and TypeMethodDescriptionProducerApplicative.ap(Kind<Producer<?>, ? extends T> value, Kind<Producer<?>, ? extends Function1<? super T, ? extends R>> apply) static Applicative<Producer<?>> ProducerInstances.applicative()ProducerComonad.coflatMap(Kind<Producer<?>, ? extends A> value, Function1<? super Kind<Producer<?>, ? extends A>, ? extends B> map) ProducerInstances.comonad()ProducerMonad.flatMap(Kind<Producer<?>, ? extends T> value, Function1<? super T, ? extends Kind<Producer<?>, ? extends R>> mapper) ProducerInstances.functor()ProducerInstances.monad()ProducerPure.pure(T value) Methods in com.github.tonivade.purefun.instances with parameters of type ProducerModifier and TypeMethodDescriptiondefault <A> IO<A> default <A> Task<A> default <A> Kind<Trampoline<?>, A> TrampolineDefer.defer(Producer<? extends Kind<Trampoline<?>, ? extends A>> defer) default <A> UIO<A> Method parameters in com.github.tonivade.purefun.instances with type arguments of type ProducerModifier and TypeMethodDescriptionProducerApplicative.ap(Kind<Producer<?>, ? extends T> value, Kind<Producer<?>, ? extends Function1<? super T, ? extends R>> apply) ProducerComonad.coflatMap(Kind<Producer<?>, ? extends A> value, Function1<? super Kind<Producer<?>, ? extends A>, ? extends B> map) ProducerComonad.coflatMap(Kind<Producer<?>, ? extends A> value, Function1<? super Kind<Producer<?>, ? extends A>, ? extends B> map) default <A> AProducerMonad.flatMap(Kind<Producer<?>, ? extends T> value, Function1<? super T, ? extends Kind<Producer<?>, ? extends R>> mapper) ProducerMonad.flatMap(Kind<Producer<?>, ? extends T> value, Function1<? super T, ? extends Kind<Producer<?>, ? extends R>> mapper) -
Uses of Producer in com.github.tonivade.purefun.monad
Fields in com.github.tonivade.purefun.monad declared as ProducerMethods in com.github.tonivade.purefun.monad with parameters of type ProducerConstructors in com.github.tonivade.purefun.monad with parameters of type Producer -
Uses of Producer in com.github.tonivade.purefun.runtimes
Methods in com.github.tonivade.purefun.runtimes with parameters of type Producer -
Uses of Producer in com.github.tonivade.purefun.stream
Methods in com.github.tonivade.purefun.stream with parameters of type ProducerModifier and TypeMethodDescriptionstatic <F extends Kind<F,?>, T>
PureStream<F, T> default <T> PureStream<F, T> private <R> PureStream<F, R> Cons.suspend(Producer<PureStream<F, R>> stream) default <T> PureStream<F, T> PureStream.Of.suspend(Producer<? extends PureStream<F, ? extends T>> lazy) static <F extends Kind<F,?>, T>
PureStream<F, T> PureStream.suspend(Producer<? extends PureStream<F, ? extends T>> lazy, F... reified) private <R> PureStream<F, R> private <R> PureStream<F, R> -
Uses of Producer in com.github.tonivade.purefun.transformer
Methods in com.github.tonivade.purefun.transformer with parameters of type ProducerModifier and TypeMethodDescription -
Uses of Producer in com.github.tonivade.purefun.type
Fields in com.github.tonivade.purefun.type declared as ProducerMethods in com.github.tonivade.purefun.type with parameters of type ProducerModifier and TypeMethodDescriptionstatic <T> Eval<T> static <T> Eval<T> Try.filterOrElse(Matcher1<? super T> matcher, Producer<? extends Kind<Try<?>, ? extends T>> producer) default Validation<E, T> Validation.filterOrElse(Matcher1<? super T> matcher, Producer<? extends Kind<Validation<E, ?>, T>> orElse) default <U> Udefault Rdefault Tdefault Tdefault TOption.getOrElseThrow(Producer<? extends X> producer) Try.getOrElseThrow(Producer<? extends X> producer) static <T> Eval<T> static <T> Option<T> static <T> Try<T> default Validation<E, T> Constructors in com.github.tonivade.purefun.type with parameters of type Producer -
Uses of Producer in com.github.tonivade.purefun.typeclasses
Fields in com.github.tonivade.purefun.typeclasses declared as ProducerModifier and TypeFieldDescriptionAbstractApply.valueApply2.value1Apply3.value1Apply4.value1Apply5.value1FlatMap2.value1FlatMap3.value1FlatMap4.value1FlatMap5.value1Apply3.value2Apply4.value2Apply5.value2Apply4.value3Apply5.value3Apply5.value4Methods in com.github.tonivade.purefun.typeclasses with parameters of type ProducerModifier and TypeMethodDescriptionConstructors in com.github.tonivade.purefun.typeclasses with parameters of type ProducerModifierConstructorDescriptionprotectedAbstractApply(Applicative<F> applicative, Producer<? extends Kind<F, ? extends A>> value) (package private)(package private)Apply2(Applicative<F> applicative, Producer<? extends Kind<F, ? extends A>> value1, Producer<? extends Kind<F, ? extends B>> value2) (package private)Apply3(Applicative<F> applicative, Producer<? extends Kind<F, ? extends A>> value1, Producer<? extends Kind<F, ? extends B>> value2, Producer<? extends Kind<F, ? extends C>> value3) (package private)Apply4(Applicative<F> applicative, Producer<? extends Kind<F, ? extends A>> value1, Producer<? extends Kind<F, ? extends B>> value2, Producer<? extends Kind<F, ? extends C>> value3, Producer<? extends Kind<F, ? extends D>> value4) (package private)Apply5(Applicative<F> applicative, Producer<? extends Kind<F, ? extends A>> value1, Producer<? extends Kind<F, ? extends B>> value2, Producer<? extends Kind<F, ? extends C>> value3, Producer<? extends Kind<F, ? extends D>> value4, Producer<? extends Kind<F, ? extends E>> value5) (package private)(package private)FlatMap2(Monad<F> monad, Producer<? extends Kind<F, ? extends A>> value1, Function1<? super A, ? extends Kind<F, ? extends B>> value2) (package private)FlatMap3(Monad<F> monad, Producer<? extends Kind<F, ? extends A>> value1, Function1<? super A, ? extends Kind<F, ? extends B>> value2, Function1<? super B, ? extends Kind<F, ? extends C>> value3) (package private)FlatMap4(Monad<F> monad, Producer<? extends Kind<F, ? extends A>> value1, Function1<? super A, ? extends Kind<F, ? extends B>> value2, Function1<? super B, ? extends Kind<F, ? extends C>> value3, Function1<? super C, ? extends Kind<F, ? extends D>> value4) (package private)FlatMap5(Monad<F> monad, Producer<? extends Kind<F, ? extends A>> value1, Function1<? super A, ? extends Kind<F, ? extends B>> value2, Function1<? super B, ? extends Kind<F, ? extends C>> value3, Function1<? super C, ? extends Kind<F, ? extends D>> value4, Function1<? super D, ? extends Kind<F, ? extends E>> value5)