public class ReaderWriterState<R,W,S,T>
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ReaderWriterState.ยต |
Constructor and Description |
---|
ReaderWriterState() |
Modifier and Type | Method and Description |
---|---|
ReaderWriterState<R,W,S,T> |
ask() |
<R2> ReaderWriterState<R,W,S,R2> |
flatMap(java.util.function.Function<? super T,? extends ReaderWriterState<R,W,S,R2>> f) |
ReaderWriterState<R,W,S,T> |
local(java.util.function.Function<? super R,? extends R> fn) |
<R2> ReaderWriterState<R,W,S,R2> |
map(java.util.function.Function<? super T,? extends R2> mapper) |
<R2> ReaderWriterState<R,W,S,R2> |
mapState(java.util.function.Function<org.jooq.lambda.tuple.Tuple3<W,S,T>,org.jooq.lambda.tuple.Tuple3<W,S,R2>> fn) |
org.jooq.lambda.tuple.Tuple3<W,S,T> |
run(R r,
S s) |
static <R,W,S,T> ReaderWriterState<R,W,S,T> |
rws(java.util.function.BiFunction<? super R,? super S,? extends org.jooq.lambda.tuple.Tuple3<W,S,T>> runF,
Monoid<W> monoid) |
ReaderWriterState<R,W,S,T> |
tell(W value) |
public ReaderWriterState<R,W,S,T> ask()
public ReaderWriterState<R,W,S,T> local(java.util.function.Function<? super R,? extends R> fn)
public <R2> ReaderWriterState<R,W,S,R2> map(java.util.function.Function<? super T,? extends R2> mapper)
public <R2> ReaderWriterState<R,W,S,R2> mapState(java.util.function.Function<org.jooq.lambda.tuple.Tuple3<W,S,T>,org.jooq.lambda.tuple.Tuple3<W,S,R2>> fn)
public <R2> ReaderWriterState<R,W,S,R2> flatMap(java.util.function.Function<? super T,? extends ReaderWriterState<R,W,S,R2>> f)
public static <R,W,S,T> ReaderWriterState<R,W,S,T> rws(java.util.function.BiFunction<? super R,? super S,? extends org.jooq.lambda.tuple.Tuple3<W,S,T>> runF, Monoid<W> monoid)