Package org.emrick.project.serde
Class PairAdapter
java.lang.Object
com.google.gson.TypeAdapter<SyncTimeGUI.Pair>
org.emrick.project.serde.PairAdapter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread
(com.google.gson.stream.JsonReader reader) void
write
(com.google.gson.stream.JsonWriter writer, SyncTimeGUI.Pair entry) Methods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
-
Constructor Details
-
PairAdapter
public PairAdapter()
-
-
Method Details
-
read
- Specified by:
read
in classcom.google.gson.TypeAdapter<SyncTimeGUI.Pair>
- Throws:
IOException
-
write
public void write(com.google.gson.stream.JsonWriter writer, SyncTimeGUI.Pair entry) throws IOException - Specified by:
write
in classcom.google.gson.TypeAdapter<SyncTimeGUI.Pair>
- Throws:
IOException
-