org.jclouds.json.internal
Class NullFilteringTypeAdapterFactories.MapTypeAdapterFactory.MapTypeAdapter<K,V>

java.lang.Object
  extended by com.google.gson.TypeAdapter<Map<K,V>>
      extended by org.jclouds.json.internal.NullFilteringTypeAdapterFactories.MapTypeAdapterFactory.MapTypeAdapter<K,V>
Enclosing class:
NullFilteringTypeAdapterFactories.MapTypeAdapterFactory

public static final class NullFilteringTypeAdapterFactories.MapTypeAdapterFactory.MapTypeAdapter<K,V>
extends com.google.gson.TypeAdapter<Map<K,V>>


Field Summary
protected  com.google.gson.TypeAdapter<K> keyAdapter
           
protected  com.google.gson.TypeAdapter<V> valueAdapter
           
 
Constructor Summary
protected NullFilteringTypeAdapterFactories.MapTypeAdapterFactory.MapTypeAdapter(com.google.gson.TypeAdapter<K> keyAdapter, com.google.gson.TypeAdapter<V> valueAdapter)
           
 
Method Summary
 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)
           
 
Methods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

keyAdapter

protected final com.google.gson.TypeAdapter<K> keyAdapter

valueAdapter

protected final com.google.gson.TypeAdapter<V> valueAdapter
Constructor Detail

NullFilteringTypeAdapterFactories.MapTypeAdapterFactory.MapTypeAdapter

protected NullFilteringTypeAdapterFactories.MapTypeAdapterFactory.MapTypeAdapter(com.google.gson.TypeAdapter<K> keyAdapter,
                                                                                 com.google.gson.TypeAdapter<V> valueAdapter)
Method Detail

write

public void write(com.google.gson.stream.JsonWriter out,
                  Map<K,V> value)
           throws IOException
Specified by:
write in class com.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 class com.google.gson.TypeAdapter<Map<K,V>>
Throws:
IOException

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2013 jclouds. All Rights Reserved.