public static enum DictImpl.RuntimeType extends Enum<DictImpl.RuntimeType>
| Enum Constant and Description |
|---|
LEGACY_OBJECT_MAP_OR_RECORD
This DictImpl represents a Soy
legacy_object_map or record at runtime. |
MAP
This DictImpl represents a Soy
map at runtime. |
UNKNOWN
This DictImpl could represent a Soy
legacy_object_map, a Soy map, or a Soy
record ([field1: type1, ...]). |
| Modifier and Type | Method and Description |
|---|---|
static DictImpl.RuntimeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DictImpl.RuntimeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DictImpl.RuntimeType UNKNOWN
legacy_object_map, a Soy map, or a Soy
record ([field1: type1, ...]). The first SoyDict or SoyRecord method invoked on this object will transition the
state to LEGACY_OBJECT_MAP_OR_RECORD, while the first SoyMap method invoked
on this object will transition the state to MAP.public static final DictImpl.RuntimeType LEGACY_OBJECT_MAP_OR_RECORD
legacy_object_map or record at runtime.public static final DictImpl.RuntimeType MAP
map at runtime.public static DictImpl.RuntimeType[] values()
for (DictImpl.RuntimeType c : DictImpl.RuntimeType.values()) System.out.println(c);
public static DictImpl.RuntimeType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null