I
- the type of input symbolsM
- the type of objects implementing classes can deserializepublic interface InputModelSerializer<I,M extends SimpleTS<?,I>> extends ModelSerializer<InputModelData<I,M>>
ModelSerializer
interface for arbitrary models that can react to inputs. Introduces a new
type variable for the input symbol type and limits the model type to SimpleTS
s.Modifier and Type | Method and Description |
---|---|
default void |
writeModel(File f,
M model,
Alphabet<I> alphabet) |
default void |
writeModel(OutputStream os,
InputModelData<I,M> model) |
void |
writeModel(OutputStream os,
M model,
Alphabet<I> alphabet) |
writeModel
void writeModel(OutputStream os, M model, Alphabet<I> alphabet) throws IOException
IOException
default void writeModel(File f, M model, Alphabet<I> alphabet) throws IOException
IOException
default void writeModel(OutputStream os, InputModelData<I,M> model) throws IOException
writeModel
in interface ModelSerializer<InputModelData<I,M extends SimpleTS<?,I>>>
IOException
Copyright © 2018. All rights reserved.