com.google.gson.internal.bind
Class CollectionTypeAdapterFactory

java.lang.Object
  extended by com.google.gson.internal.bind.CollectionTypeAdapterFactory
All Implemented Interfaces:
TypeAdapterFactory

public final class CollectionTypeAdapterFactory
extends java.lang.Object
implements TypeAdapterFactory

Adapt a homogeneous collection of objects.


Constructor Summary
CollectionTypeAdapterFactory(ConstructorConstructor constructorConstructor)
           
 
Method Summary
<T> TypeAdapter<T>
create(Gson gson, TypeToken<T> typeToken)
          Returns a type adapter for type, or null if this factory doesn't support type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionTypeAdapterFactory

public CollectionTypeAdapterFactory(ConstructorConstructor constructorConstructor)
Method Detail

create

public <T> TypeAdapter<T> create(Gson gson,
                                 TypeToken<T> typeToken)
Description copied from interface: TypeAdapterFactory
Returns a type adapter for type, or null if this factory doesn't support type.

Specified by:
create in interface TypeAdapterFactory