Class CodecRegistry<T,S extends Geometry<?>>
- java.lang.Object
-
- com.github.filosganga.geogson.codec.CodecRegistry<T,S>
-
-
Constructor Summary
Constructors Constructor Description CodecRegistry()CodecRegistry(Iterable<Codec<? extends T,? extends S>> codecs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCodec(Codec<? extends T,? extends S> codec)TfromGeometry(S src)Converts the given T instance to S.StoGeometry(T src)Converts the given S instance to T.
-