C - The class type to adapt.public class EmptyArrayAdapterFactory<C> extends Object implements com.google.gson.TypeAdapterFactory
| Constructor and Description |
|---|
EmptyArrayAdapterFactory(Class<C> customizedClass)
Initializes a default factory instance.
|
| Modifier and Type | Method and Description |
|---|---|
<T> com.google.gson.TypeAdapter<T> |
create(com.google.gson.Gson gson,
com.google.gson.reflect.TypeToken<T> type)
Creates an instance for adapting the given token.
|
public final <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
com.google.gson.reflect.TypeToken<T> type)
create in interface com.google.gson.TypeAdapterFactoryT - The type to adapt.gson - The current Gson instance.type - The type token to adapt.Copyright © 2020. All rights reserved.