| Package | Description |
|---|---|
| de.flapdoodle.transition.initlike | |
| de.flapdoodle.transition.initlike.resolver | |
| de.flapdoodle.transition.initlike.transitions |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableState<T>
Immutable implementation of
State. |
| Modifier and Type | Method and Description |
|---|---|
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<T> |
ImmutableNamedTypeAndState.state() |
State<T> |
NamedTypeAndState.state() |
| 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 <T> ImmutableNamedTypeAndState<T> |
ImmutableNamedTypeAndState.of(NamedType<T> type,
State<T> state)
Construct a new immutable
NamedTypeAndState instance. |
static <T> NamedTypeAndState<T> |
NamedTypeAndState.of(NamedType<T> type,
State<T> state) |
ImmutableNamedTypeAndState.Builder<T> |
ImmutableNamedTypeAndState.Builder.state(State<T> state)
Initializes the value for the
state attribute. |
ImmutableNamedTypeAndState<T> |
ImmutableNamedTypeAndState.withState(State<T> value)
Copy the current immutable object by setting a value for the
state attribute. |
| Constructor and Description |
|---|
MapBasedStateOfNamedType(Map<NamedType<?>,State<?>> stateMap) |
| Modifier and Type | Method and Description |
|---|---|
<T> Optional<Function<StateOfNamedType,State<T>>> |
TransitionResolver.resolve(SingleDestination<T> route,
Route.Transition<T> transition) |
static <T> Optional<Function<StateOfNamedType,State<T>>> |
TransitionResolver.resolverOf(Collection<TransitionResolver> transitionResolvers,
SingleDestination<T> route,
Route.Transition<T> transition) |
| Modifier and Type | Method and Description |
|---|---|
State<D> |
ThreeWayMergingTransition.apply(L t,
M m,
R r) |
Copyright © 2017. All rights reserved.