Class CollectionTypeAdapterFactory

  • All Implemented Interfaces:
    com.google.gson.TypeAdapterFactory

    public class CollectionTypeAdapterFactory
    extends java.lang.Object
    implements com.google.gson.TypeAdapterFactory
    Adapt a homogeneous collection of objects.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private com.google.gson.internal.ConstructorConstructor constructorConstructor  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> com.google.gson.TypeAdapter<T> create​(com.google.gson.Gson gson, com.google.gson.reflect.TypeToken<T> typeToken)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • constructorConstructor

        private final com.google.gson.internal.ConstructorConstructor constructorConstructor
    • Constructor Detail

      • CollectionTypeAdapterFactory

        public CollectionTypeAdapterFactory()
    • Method Detail

      • create

        public <T> com.google.gson.TypeAdapter<T> create​(com.google.gson.Gson gson,
                                                         com.google.gson.reflect.TypeToken<T> typeToken)
        Specified by:
        create in interface com.google.gson.TypeAdapterFactory