| Package | Description |
|---|---|
| de.flapdoodle.reverse |
| Modifier and Type | Method and Description |
|---|---|
ImmutableStateListener<T> |
ImmutableStateListener.Builder.build()
Builds a new
ImmutableStateListener. |
static <T> ImmutableStateListener<T> |
ImmutableStateListener.copyOf(Listener.StateListener<T> instance)
Creates an immutable copy of a
Listener.StateListener value. |
static <T> ImmutableStateListener<T> |
ImmutableStateListener.of(StateID<T> type,
Consumer<T> listener)
Construct a new immutable
StateListener instance. |
ImmutableStateListener<T> |
ImmutableStateListener.withListener(Consumer<T> value)
Copy the current immutable object by setting a value for the
listener attribute. |
ImmutableStateListener<T> |
ImmutableStateListener.withType(StateID<T> value)
Copy the current immutable object by setting a value for the
type attribute. |
Copyright © 2023. All rights reserved.