java.lang.Objectcom.google.gson.internal.bind.CollectionTypeAdapterFactory
public final class CollectionTypeAdapterFactory
Adapt a homogeneous collection of objects.
Constructor Summary | |
---|---|
CollectionTypeAdapterFactory(ConstructorConstructor constructorConstructor)
|
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 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CollectionTypeAdapterFactory(ConstructorConstructor constructorConstructor)
Method Detail |
---|
public <T> TypeAdapter<T> create(Gson gson, TypeToken<T> typeToken)
TypeAdapterFactory
type
, or null if this factory doesn't
support type
.
create
in interface TypeAdapterFactory