Package com.massivecraft.factions.util
Class EnumTypeAdapter<T extends java.lang.Enum<T>>
- java.lang.Object
-
- com.google.gson.TypeAdapter<T>
-
- com.massivecraft.factions.util.EnumTypeAdapter<T>
-
public final class EnumTypeAdapter<T extends java.lang.Enum<T>> extends com.google.gson.TypeAdapter<T>
-
-
Field Summary
Fields Modifier and Type Field Description static com.google.gson.TypeAdapterFactory
ENUM_FACTORY
-
Constructor Summary
Constructors Constructor Description EnumTypeAdapter(java.lang.Class<T> classOfT)
-
Method Summary
Modifier and Type Method Description static <TT> com.google.gson.TypeAdapterFactory
newEnumTypeHierarchyFactory()
T
read(com.google.gson.stream.JsonReader in)
void
write(com.google.gson.stream.JsonWriter out, T value)
-