com.mapbox.api.matching.v5.models.MapMatchingAdapterFactory Maven / Gradle / Ivy
package com.mapbox.api.matching.v5.models;
import com.google.gson.TypeAdapterFactory;
import com.ryanharter.auto.value.gson.GsonTypeAdapterFactory;
/**
* A MapMatching type adapter factory for convenience when using AutoValue and handling
* serialization/deserialization. The majority of this class gets generated during compilation time.
*
* @since 3.0.0
*/
@GsonTypeAdapterFactory
public abstract class MapMatchingAdapterFactory implements TypeAdapterFactory {
/**
* Create a new instance of this MapMatching type adapter factory, this is passed into the Gson
* Builder.
*
* @return a new GSON TypeAdapterFactory
* @since 3.0.0
*/
public static TypeAdapterFactory create() {
return new AutoValueGson_MapMatchingAdapterFactory();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy