public final class CollectionTypeAdapterFactory extends Object implements TypeAdapterFactory
Constructor and Description |
---|
CollectionTypeAdapterFactory(ConstructorConstructor constructorConstructor) |
Modifier and Type | Method and Description |
---|---|
<T> TypeAdapter<T> |
create(Gson gson,
TypeToken<T> typeToken)
Returns a type adapter for
type , or null if this factory doesn't
support type . |
public CollectionTypeAdapterFactory(ConstructorConstructor constructorConstructor)
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