public class SnapshotAdapter<T> extends com.google.gson.TypeAdapter<List<T>>
Constructor and Description |
---|
SnapshotAdapter(com.google.gson.reflect.TypeToken<T> adapterclass) |
Modifier and Type | Method and Description |
---|---|
List<T> |
read(com.google.gson.stream.JsonReader reader) |
void |
write(com.google.gson.stream.JsonWriter writer,
List<T> t) |
public SnapshotAdapter(com.google.gson.reflect.TypeToken<T> adapterclass)
public List<T> read(com.google.gson.stream.JsonReader reader) throws IOException
read
in class com.google.gson.TypeAdapter<List<T>>
IOException
public void write(com.google.gson.stream.JsonWriter writer, List<T> t) throws IOException
write
in class com.google.gson.TypeAdapter<List<T>>
IOException
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.