| Package | Description |
|---|---|
| de.flapdoodle.reverse | |
| de.flapdoodle.reverse.transitions |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableState<T>
Immutable implementation of
State. |
| Modifier and Type | Method and Description |
|---|---|
State<D> |
TransitionWalker.ReachedState.asState() |
static <A,B,D> State<D> |
State.merge(State<A> a,
State<B> b,
BiFunction<A,B,D> merge,
TearDown<D>... tearDowns) |
static <T> State<T> |
State.of(T current,
TearDown<T>... tearDowns) |
State<D> |
Transition.result(StateLookup lookup) |
| Modifier and Type | Method and Description |
|---|---|
static <T> ImmutableState<T> |
ImmutableState.copyOf(State<T> instance)
Creates an immutable copy of a
State value. |
ImmutableState.Builder<T> |
ImmutableState.Builder.from(State<T> instance)
Fill a builder with attribute values from the provided
State instance. |
static <A,B,D> State<D> |
State.merge(State<A> a,
State<B> b,
BiFunction<A,B,D> merge,
TearDown<D>... tearDowns) |
static <A,B,D> State<D> |
State.merge(State<A> a,
State<B> b,
BiFunction<A,B,D> merge,
TearDown<D>... tearDowns) |
static <D> void |
State.tearDown(State<D> state) |
| Modifier and Type | Method and Description |
|---|---|
State<D> |
Derive.result(StateLookup lookup) |
State<D> |
Join.result(StateLookup lookup) |
State<D> |
Start.result(StateLookup lookup) |
| Modifier and Type | Method and Description |
|---|---|
protected Supplier<State<D>> |
ImmutableStart.action() |
protected BiFunction<L,R,State<D>> |
ImmutableJoin.action() |
protected Function<S,State<D>> |
ImmutableDerive.action() |
protected abstract Function<S,State<D>> |
Derive.action() |
protected abstract BiFunction<L,R,State<D>> |
Join.action() |
protected abstract Supplier<State<D>> |
Start.action() |
| Modifier and Type | Method and Description |
|---|---|
ImmutableJoin.Builder<L,R,D> |
ImmutableJoin.Builder.action(BiFunction<L,R,State<D>> action)
Initializes the value for the
action attribute. |
ImmutableDerive.Builder<S,D> |
ImmutableDerive.Builder.action(Function<S,State<D>> action)
Initializes the value for the
action attribute. |
ImmutableStart.Builder<D> |
ImmutableStart.Builder.action(Supplier<State<D>> action)
Initializes the value for the
action attribute. |
static <D> ImmutableStart<D> |
Start.of(StateID<D> dest,
Supplier<State<D>> action) |
static <L,R,D> ImmutableJoin<L,R,D> |
Join.of(StateID<L> left,
StateID<R> right,
StateID<D> dest,
BiFunction<L,R,State<D>> action) |
static <S,D> ImmutableDerive<S,D> |
Derive.of(StateID<S> source,
StateID<D> dest,
Function<S,State<D>> action) |
ImmutableJoin<L,R,D> |
Join.WithDestination.with(BiFunction<L,R,State<D>> action) |
ImmutableDerive<S,D> |
Derive.WithSourceAndDestination.with(Function<S,State<D>> action) |
ImmutableStart<T> |
Start.WithDestination.with(Supplier<State<T>> supplier) |
ImmutableJoin<L,R,D> |
ImmutableJoin.withAction(BiFunction<L,R,State<D>> value)
Copy the current immutable object by setting a value for the
action attribute. |
ImmutableDerive<S,D> |
ImmutableDerive.withAction(Function<S,State<D>> value)
Copy the current immutable object by setting a value for the
action attribute. |
ImmutableStart<D> |
ImmutableStart.withAction(Supplier<State<D>> value)
Copy the current immutable object by setting a value for the
action attribute. |
Copyright © 2025. All rights reserved.