@Generated(value="org.immutables.processor.ProxyProcessor") public final class ImmutableTransitions extends Transitions
Transitions.
Use the builder to create immutable instances:
ImmutableTransitions.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableTransitions.Builder
Builds instances of type
ImmutableTransitions. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableTransitions.Builder |
builder()
Creates a builder for
ImmutableTransitions. |
static ImmutableTransitions |
copyOf(Transitions instance)
Creates an immutable copy of a
Transitions value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableTransitions that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
transitions. |
String |
toString()
Prints the immutable value
Transitions with attribute values. |
List<Transition<?>> |
transitions() |
ImmutableTransitions |
withTransitions(Iterable<? extends Transition<?>> elements)
Copy the current immutable object with elements that replace the content of
transitions. |
ImmutableTransitions |
withTransitions(Transition<?>... elements)
Copy the current immutable object with elements that replace the content of
transitions. |
addAll, addAll, assertNoCollisions, checkForCollisions, from, replace, walkerpublic List<Transition<?>> transitions()
transitions in class Transitionstransitions attribute@SafeVarargs public final ImmutableTransitions withTransitions(Transition<?>... elements)
transitions.elements - The elements to setthis objectpublic final ImmutableTransitions withTransitions(Iterable<? extends Transition<?>> elements)
transitions.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of transitions elements to setthis objectpublic boolean equals(Object another)
ImmutableTransitions that have equal attribute values.public int hashCode()
transitions.public String toString()
Transitions with attribute values.public static ImmutableTransitions copyOf(Transitions instance)
Transitions value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static ImmutableTransitions.Builder builder()
ImmutableTransitions.
ImmutableTransitions.builder()
.addTransitions|addAllTransitions(de.flapdoodle.reverse.Transition<?>) // transitions elements
.build();
Copyright © 2025. All rights reserved.