Class NullFilteringTypeAdapterFactories.SetTypeAdapter<E>

    • Constructor Detail

      • SetTypeAdapter

        public SetTypeAdapter​(com.google.gson.TypeAdapter<E> elementAdapter)
    • Method Detail

      • write

        public void write​(com.google.gson.stream.JsonWriter out,
                          Set<E> value)
                   throws IOException
        Specified by:
        write in class com.google.gson.TypeAdapter<Set<E>>
        Throws:
        IOException
      • read

        public Set<E> read​(com.google.gson.stream.JsonReader in)
                    throws IOException
        Specified by:
        read in class com.google.gson.TypeAdapter<Set<E>>
        Throws:
        IOException
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object