public class UndirectedGraphAdapter extends Object implements com.google.gson.JsonSerializer<org.jgrapht.graph.UnmodifiableUndirectedGraph<MRVMRegionsMap.Region,org.jgrapht.graph.DefaultEdge>>, com.google.gson.JsonDeserializer<org.jgrapht.graph.UnmodifiableUndirectedGraph<MRVMRegionsMap.Region,org.jgrapht.graph.DefaultEdge>>
| Modifier and Type | Class and Description |
|---|---|
static class |
UndirectedGraphAdapter.SerializedRegion |
| Constructor and Description |
|---|
UndirectedGraphAdapter() |
| Modifier and Type | Method and Description |
|---|---|
org.jgrapht.graph.UnmodifiableUndirectedGraph<MRVMRegionsMap.Region,org.jgrapht.graph.DefaultEdge> |
deserialize(com.google.gson.JsonElement json,
Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
com.google.gson.JsonElement |
serialize(org.jgrapht.graph.UnmodifiableUndirectedGraph<MRVMRegionsMap.Region,org.jgrapht.graph.DefaultEdge> src,
Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |
public com.google.gson.JsonElement serialize(org.jgrapht.graph.UnmodifiableUndirectedGraph<MRVMRegionsMap.Region,org.jgrapht.graph.DefaultEdge> src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
serialize in interface com.google.gson.JsonSerializer<org.jgrapht.graph.UnmodifiableUndirectedGraph<MRVMRegionsMap.Region,org.jgrapht.graph.DefaultEdge>>public org.jgrapht.graph.UnmodifiableUndirectedGraph<MRVMRegionsMap.Region,org.jgrapht.graph.DefaultEdge> deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
deserialize in interface com.google.gson.JsonDeserializer<org.jgrapht.graph.UnmodifiableUndirectedGraph<MRVMRegionsMap.Region,org.jgrapht.graph.DefaultEdge>>com.google.gson.JsonParseExceptionCopyright © 2017. All rights reserved.