public class HashCodeAdapter
extends com.google.gson.TypeAdapter<com.google.common.hash.HashCode>
Gson TypeAdapter capable of Serializing/Deserializing a Guava HashCode
Created by covers1624 on 6/01/19.
| Constructor and Description |
|---|
HashCodeAdapter() |
| Modifier and Type | Method and Description |
|---|---|
@Nullable com.google.common.hash.HashCode |
read(com.google.gson.stream.JsonReader in) |
void |
write(com.google.gson.stream.JsonWriter out,
@Nullable com.google.common.hash.HashCode value) |
public void write(com.google.gson.stream.JsonWriter out,
@Nullable
@Nullable com.google.common.hash.HashCode value)
throws java.io.IOException
write in class com.google.gson.TypeAdapter<com.google.common.hash.HashCode>java.io.IOException@Nullable
public @Nullable com.google.common.hash.HashCode read(com.google.gson.stream.JsonReader in)
throws java.io.IOException
read in class com.google.gson.TypeAdapter<com.google.common.hash.HashCode>java.io.IOException