public class ImmutableSetAdapter extends Object implements com.google.gson.JsonDeserializer<com.google.common.collect.ImmutableSet<?>>
| Constructor and Description |
|---|
ImmutableSetAdapter() |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableSet |
deserialize(com.google.gson.JsonElement json,
Type type,
com.google.gson.JsonDeserializationContext context) |
static <E> com.google.common.reflect.TypeToken<Set<E>> |
setOf(com.google.common.reflect.TypeToken<E> subType) |
public static <E> com.google.common.reflect.TypeToken<Set<E>> setOf(com.google.common.reflect.TypeToken<E> subType)
public com.google.common.collect.ImmutableSet deserialize(com.google.gson.JsonElement json,
Type type,
com.google.gson.JsonDeserializationContext context)
throws com.google.gson.JsonParseException
deserialize in interface com.google.gson.JsonDeserializer<com.google.common.collect.ImmutableSet<?>>com.google.gson.JsonParseExceptionCopyright © 2017–2020 IRD. All rights reserved.