public static class NullFilteringTypeAdapterFactories.MapTypeAdapter<K,V> extends com.google.gson.TypeAdapter<Map<K,V>>
Modifier and Type | Field and Description |
---|---|
protected com.google.gson.TypeAdapter<K> |
keyAdapter |
protected com.google.gson.TypeAdapter<V> |
valueAdapter |
Modifier | Constructor and Description |
---|---|
protected |
MapTypeAdapter(com.google.gson.TypeAdapter<K> keyAdapter,
com.google.gson.TypeAdapter<V> valueAdapter) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
Map<K,V> |
read(com.google.gson.stream.JsonReader in) |
String |
toString() |
void |
write(com.google.gson.stream.JsonWriter out,
Map<K,V> value) |
protected final com.google.gson.TypeAdapter<K> keyAdapter
protected final com.google.gson.TypeAdapter<V> valueAdapter
public void write(com.google.gson.stream.JsonWriter out, Map<K,V> value) throws IOException
write
in class com.google.gson.TypeAdapter<Map<K,V>>
IOException
public Map<K,V> read(com.google.gson.stream.JsonReader in) throws IOException
read
in class com.google.gson.TypeAdapter<Map<K,V>>
IOException
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.