Serializable
, Comparable<AbstractJsonFactoryTest.E>
public static enum AbstractJsonFactoryTest.E extends Enum<AbstractJsonFactoryTest.E>
Enum Constant | Description |
---|---|
IGNORED_VALUE |
|
NULL |
|
OTHER_VALUE |
|
VALUE |
Modifier and Type | Method | Description |
---|---|---|
static AbstractJsonFactoryTest.E |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static AbstractJsonFactoryTest.E[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractJsonFactoryTest.E VALUE
public static final AbstractJsonFactoryTest.E OTHER_VALUE
public static final AbstractJsonFactoryTest.E NULL
public static final AbstractJsonFactoryTest.E IGNORED_VALUE
public static AbstractJsonFactoryTest.E[] values()
for (AbstractJsonFactoryTest.E c : AbstractJsonFactoryTest.E.values()) System.out.println(c);
public static AbstractJsonFactoryTest.E 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 nullCopyright © 2011–2019 Google. All rights reserved.