Package org.immutables.value.processor
Enum OkJsons.AdapterDecider.AdaptedUse
- java.lang.Object
-
- java.lang.Enum<OkJsons.AdapterDecider.AdaptedUse>
-
- org.immutables.value.processor.OkJsons.AdapterDecider.AdaptedUse
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<OkJsons.AdapterDecider.AdaptedUse>
- Enclosing class:
- OkJsons.AdapterDecider
private static enum OkJsons.AdapterDecider.AdaptedUse extends java.lang.Enum<OkJsons.AdapterDecider.AdaptedUse>
-
-
Constructor Summary
Constructors Modifier Constructor Description privateAdaptedUse()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OkJsons.AdapterDecider.AdaptedUsevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static OkJsons.AdapterDecider.AdaptedUse[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final OkJsons.AdapterDecider.AdaptedUse NONE
-
FULL
public static final OkJsons.AdapterDecider.AdaptedUse FULL
-
FIRST
public static final OkJsons.AdapterDecider.AdaptedUse FIRST
-
SECOND
public static final OkJsons.AdapterDecider.AdaptedUse SECOND
-
BOTH
public static final OkJsons.AdapterDecider.AdaptedUse BOTH
-
-
Method Detail
-
values
public static OkJsons.AdapterDecider.AdaptedUse[] 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 (OkJsons.AdapterDecider.AdaptedUse c : OkJsons.AdapterDecider.AdaptedUse.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OkJsons.AdapterDecider.AdaptedUse valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-