org.jclouds.json.internal
Class NullFilteringTypeAdapterFactories.IterableTypeAdapterFactory.IterableTypeAdapter<E>

java.lang.Object
  extended by com.google.gson.TypeAdapter<Iterable<E>>
      extended by org.jclouds.json.internal.NullFilteringTypeAdapterFactories.IterableTypeAdapterFactory.IterableTypeAdapter<E>
Enclosing class:
NullFilteringTypeAdapterFactories.IterableTypeAdapterFactory

public static final class NullFilteringTypeAdapterFactories.IterableTypeAdapterFactory.IterableTypeAdapter<E>
extends com.google.gson.TypeAdapter<Iterable<E>>


Constructor Summary
NullFilteringTypeAdapterFactories.IterableTypeAdapterFactory.IterableTypeAdapter(com.google.gson.TypeAdapter<E> elementAdapter)
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 Iterable<E> read(com.google.gson.stream.JsonReader in)
           
protected
<C extends Iterable<E>,B extends com.google.common.collect.ImmutableCollection.Builder<E>>
C
readAndBuild(com.google.gson.stream.JsonReader in, B builder)
           
 String toString()
           
 void write(com.google.gson.stream.JsonWriter out, Iterable<E> 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
 

Constructor Detail

NullFilteringTypeAdapterFactories.IterableTypeAdapterFactory.IterableTypeAdapter

public NullFilteringTypeAdapterFactories.IterableTypeAdapterFactory.IterableTypeAdapter(com.google.gson.TypeAdapter<E> elementAdapter)
Method Detail

write

public void write(com.google.gson.stream.JsonWriter out,
                  Iterable<E> value)
           throws IOException
Specified by:
write in class com.google.gson.TypeAdapter<Iterable<E>>
Throws:
IOException

read

public Iterable<E> read(com.google.gson.stream.JsonReader in)
                 throws IOException
Specified by:
read in class com.google.gson.TypeAdapter<Iterable<E>>
Throws:
IOException

readAndBuild

protected <C extends Iterable<E>,B extends com.google.common.collect.ImmutableCollection.Builder<E>> C readAndBuild(com.google.gson.stream.JsonReader in,
                                                                                                                    B builder)
                                      throws IOException
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.