Class DrawFunctionParser
java.lang.Object
com.google.gson.TypeAdapter<DrawFunction>
net.buildtheearth.terraminusminus.dataset.osm.JsonParser<DrawFunction>
net.buildtheearth.terraminusminus.dataset.osm.JsonParser.Typed<DrawFunction>
net.buildtheearth.terraminusminus.dataset.vector.draw.DrawFunctionParser
- All Implemented Interfaces:
BiFunction<String,,com.google.gson.stream.JsonReader, DrawFunction> net.daporkchop.lib.common.function.io.IOBiFunction<String,com.google.gson.stream.JsonReader, DrawFunction>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.buildtheearth.terraminusminus.dataset.osm.JsonParser
JsonParser.Typed<T> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyThrowing(String type, com.google.gson.stream.JsonReader in) Methods inherited from class net.buildtheearth.terraminusminus.dataset.osm.JsonParser.Typed
readMethods inherited from class net.buildtheearth.terraminusminus.dataset.osm.JsonParser
readList, readTypedList, readTypedList, writeMethods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTreeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThenMethods inherited from interface net.daporkchop.lib.common.function.io.IOBiFunction
apply
-
Field Details
-
TYPES
-
name
-
types
-
-
Constructor Details
-
DrawFunctionParser
public DrawFunctionParser()
-
-
Method Details
-
applyThrowing
public DrawFunction applyThrowing(String type, com.google.gson.stream.JsonReader in) throws IOException - Specified by:
applyThrowingin interfacenet.daporkchop.lib.common.function.io.IOBiFunction<String,com.google.gson.stream.JsonReader, T> - Throws:
IOException
-