| Package | Description |
|---|---|
| de.flapdoodle.reverse |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableStateMapping<T>
Immutable implementation of
StateMapping. |
| Modifier and Type | Method and Description |
|---|---|
StateMapping<D> |
ImmutableTransitionMapping.destination() |
abstract StateMapping<D> |
TransitionMapping.destination() |
static <T> StateMapping<T> |
StateMapping.of(StateID<T> source,
StateID<T> destination) |
| Modifier and Type | Method and Description |
|---|---|
List<StateMapping<?>> |
ImmutableTransitionMapping.mappings() |
abstract List<StateMapping<?>> |
TransitionMapping.mappings() |
| Modifier and Type | Method and Description |
|---|---|
ImmutableTransitionMapping.Builder<D> |
ImmutableTransitionMapping.Builder.addMappings(StateMapping<?>... elements)
Adds elements to
mappings list. |
ImmutableTransitionMapping.Builder<D> |
ImmutableTransitionMapping.Builder.addMappings(StateMapping<?> element)
Adds one element to
mappings list. |
static <D> ImmutableTransitionMapping.Builder<D> |
ImmutableTransitionMapping.builder(String label,
StateMapping<D> destination)
Creates a builder for
ImmutableTransitionMapping. |
static <D> ImmutableTransitionMapping.Builder<D> |
TransitionMapping.builder(String label,
StateMapping<D> mapping) |
static <T> ImmutableStateMapping<T> |
ImmutableStateMapping.copyOf(StateMapping<T> instance)
Creates an immutable copy of a
StateMapping value. |
ImmutableStateMapping.Builder<T> |
ImmutableStateMapping.Builder.from(StateMapping<T> instance)
Fill a builder with attribute values from the provided
StateMapping instance. |
ImmutableTransitionMapping<D> |
ImmutableTransitionMapping.withDestination(StateMapping<D> value)
Copy the current immutable object by setting a value for the
destination attribute. |
ImmutableTransitionMapping<D> |
ImmutableTransitionMapping.withMappings(StateMapping<?>... elements)
Copy the current immutable object with elements that replace the content of
mappings. |
| Modifier and Type | Method and Description |
|---|---|
ImmutableTransitionMapping.Builder<D> |
ImmutableTransitionMapping.Builder.addAllMappings(Iterable<? extends StateMapping<?>> elements)
Adds elements to
mappings list. |
ImmutableTransitionMapping.Builder<D> |
ImmutableTransitionMapping.Builder.mappings(Iterable<? extends StateMapping<?>> elements)
Sets or replaces all elements for
mappings list. |
ImmutableTransitionMapping<D> |
ImmutableTransitionMapping.withMappings(Iterable<? extends StateMapping<?>> elements)
Copy the current immutable object with elements that replace the content of
mappings. |
Copyright © 2025. All rights reserved.