com.google.gson.internal.bind
Class CollectionTypeAdapterFactory
java.lang.Object
com.google.gson.internal.bind.CollectionTypeAdapterFactory
- All Implemented Interfaces:
- TypeAdapterFactory
public final class CollectionTypeAdapterFactory
- extends Object
- implements TypeAdapterFactory
Adapt a homogeneous collection of objects.
|
Method Summary |
|
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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollectionTypeAdapterFactory
public CollectionTypeAdapterFactory(ConstructorConstructor constructorConstructor)
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
Copyright © 2012. All Rights Reserved.