private static enum AnimationStateMachine.TransitionsAdapterFactory extends java.lang.Enum<AnimationStateMachine.TransitionsAdapterFactory> implements com.google.gson.TypeAdapterFactory
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
<T> com.google.gson.TypeAdapter<T> |
create(com.google.gson.Gson gson,
com.google.gson.reflect.TypeToken<T> type) |
static AnimationStateMachine.TransitionsAdapterFactory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AnimationStateMachine.TransitionsAdapterFactory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnimationStateMachine.TransitionsAdapterFactory INSTANCE
public static AnimationStateMachine.TransitionsAdapterFactory[] values()
for (AnimationStateMachine.TransitionsAdapterFactory c : AnimationStateMachine.TransitionsAdapterFactory.values()) System.out.println(c);
public static AnimationStateMachine.TransitionsAdapterFactory valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Nullable public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson, com.google.gson.reflect.TypeToken<T> type)
create
in interface com.google.gson.TypeAdapterFactory