public static class TupleTypeAdapters.TwoTypeAdapter<F,S> extends com.google.gson.TypeAdapter<Tuple.Two<F,S>>
Modifier and Type | Field and Description |
---|---|
protected com.google.gson.TypeAdapter<F> |
first |
protected com.google.gson.TypeAdapter<S> |
second |
Constructor and Description |
---|
TwoTypeAdapter(com.google.gson.Gson gson,
com.google.gson.reflect.TypeToken<Tuple.Two<F,S>> typeToken) |
Modifier and Type | Method and Description |
---|---|
Tuple.Two<F,S> |
read(com.google.gson.stream.JsonReader in) |
void |
write(com.google.gson.stream.JsonWriter out,
Tuple.Two<F,S> value) |