Package org.jclouds.json.internal
Class NullFilteringTypeAdapterFactories.MapTypeAdapter<K,V>
- java.lang.Object
-
- com.google.gson.TypeAdapter<Map<K,V>>
-
- org.jclouds.json.internal.NullFilteringTypeAdapterFactories.MapTypeAdapter<K,V>
-
- Enclosing class:
- NullFilteringTypeAdapterFactories
public static class NullFilteringTypeAdapterFactories.MapTypeAdapter<K,V> extends com.google.gson.TypeAdapter<Map<K,V>>
-
-
Field Summary
Fields Modifier and Type Field Description protected com.google.gson.TypeAdapter<K>
keyAdapter
protected com.google.gson.TypeAdapter<V>
valueAdapter
-
Constructor Summary
Constructors Modifier Constructor Description protected
MapTypeAdapter(com.google.gson.TypeAdapter<K> keyAdapter, com.google.gson.TypeAdapter<V> valueAdapter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
write
public void write(com.google.gson.stream.JsonWriter out, Map<K,V> value) throws IOException
- Specified by:
write
in classcom.google.gson.TypeAdapter<Map<K,V>>
- Throws:
IOException
-
read
public Map<K,V> read(com.google.gson.stream.JsonReader in) throws IOException
- Specified by:
read
in classcom.google.gson.TypeAdapter<Map<K,V>>
- Throws:
IOException
-
-