Package ch.raffael.meldioc.library.codec
Enum GsonObjectCodecFeature.Configuration.Standard
- java.lang.Object
-
- java.lang.Enum<GsonObjectCodecFeature.Configuration.Standard>
-
- ch.raffael.meldioc.library.codec.GsonObjectCodecFeature.Configuration.Standard
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<GsonObjectCodecFeature.Configuration.Standard>,java.util.function.Consumer<com.google.gson.GsonBuilder>
- Enclosing class:
- GsonObjectCodecFeature.Configuration
public static enum GsonObjectCodecFeature.Configuration.Standard extends java.lang.Enum<GsonObjectCodecFeature.Configuration.Standard> implements java.util.function.Consumer<com.google.gson.GsonBuilder>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description JAVA_TIMESERVICE_LOADERVAVR
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GsonObjectCodecFeature.Configuration.StandardvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static GsonObjectCodecFeature.Configuration.Standard[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SERVICE_LOADER
public static final GsonObjectCodecFeature.Configuration.Standard SERVICE_LOADER
-
JAVA_TIME
public static final GsonObjectCodecFeature.Configuration.Standard JAVA_TIME
-
VAVR
public static final GsonObjectCodecFeature.Configuration.Standard VAVR
-
-
Method Detail
-
values
public static GsonObjectCodecFeature.Configuration.Standard[] 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 (GsonObjectCodecFeature.Configuration.Standard c : GsonObjectCodecFeature.Configuration.Standard.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GsonObjectCodecFeature.Configuration.Standard 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
-
-