com.google.gson.JsonDeserializer<Vector>
, Serializable
, Comparable<Vector>
public static enum Vector.Deserializer extends Enum<Vector.Deserializer> implements com.google.gson.JsonDeserializer<Vector>
Enum Constant | Description |
---|---|
INSTANCE |
The singleton instance of this class
|
Modifier and Type | Method | Description |
---|---|---|
Vector |
deserialize(com.google.gson.JsonElement json,
Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
|
String |
toString() |
|
static Vector.Deserializer |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Vector.Deserializer[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Vector.Deserializer INSTANCE
public static Vector.Deserializer[] values()
for (Vector.Deserializer c : Vector.Deserializer.values()) System.out.println(c);
public static Vector.Deserializer 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 nullpublic Vector deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
deserialize
in interface com.google.gson.JsonDeserializer<Vector>
com.google.gson.JsonParseException
public String toString()
toString
in class Enum<Vector.Deserializer>