Class NullFilteringTypeAdapterFactories.MapTypeAdapter<K,​V>

    • Field Detail

      • keyAdapter

        protected final com.google.gson.TypeAdapter<K> keyAdapter
      • valueAdapter

        protected final com.google.gson.TypeAdapter<V> valueAdapter
    • Constructor Detail

      • MapTypeAdapter

        protected MapTypeAdapter​(com.google.gson.TypeAdapter<K> keyAdapter,
                                 com.google.gson.TypeAdapter<V> valueAdapter)
    • Method Detail

      • write

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

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

        public int hashCode()
        Overrides:
        hashCode in class Object