Package com.google.api.client.test.json
Enum AbstractJsonFactoryTest.E
- java.lang.Object
-
- java.lang.Enum<AbstractJsonFactoryTest.E>
-
- com.google.api.client.test.json.AbstractJsonFactoryTest.E
-
- All Implemented Interfaces:
Serializable
,Comparable<AbstractJsonFactoryTest.E>
- Enclosing class:
- AbstractJsonFactoryTest
public static enum AbstractJsonFactoryTest.E extends Enum<AbstractJsonFactoryTest.E>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IGNORED_VALUE
NULL
OTHER_VALUE
VALUE
-
Method Summary
All Methods Static Methods Concrete Methods 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.
-
-
-
Enum Constant Detail
-
VALUE
public static final AbstractJsonFactoryTest.E VALUE
-
OTHER_VALUE
public static final AbstractJsonFactoryTest.E OTHER_VALUE
-
NULL
public static final AbstractJsonFactoryTest.E NULL
-
IGNORED_VALUE
public static final AbstractJsonFactoryTest.E IGNORED_VALUE
-
-
Method Detail
-
values
public static AbstractJsonFactoryTest.E[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AbstractJsonFactoryTest.E c : AbstractJsonFactoryTest.E.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractJsonFactoryTest.E valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-