I - the input symbol typeOUT - The type of objects that should be serializedIN - The type of objects that should be de-serializedpublic interface InputModelSerializationProvider<I,OUT extends SimpleTS<?,I>,IN extends SimpleTS<?,I>> extends InputModelSerializer<I,OUT>, InputModelDeserializer<I,IN>, SerializationProvider<InputModelData<I,OUT>,InputModelData<I,IN>>
InputModelSerializer and InputModelDeserializer and extends SerializationProvider.
This interface allows to specify two independent types (one for serialization, one for de-serialization) which allows implementing classes to specify types more precise. This may be useful if the respective types hold generics as well (which are invariant).
writeModel, writeModel, writeModelwriteModelreadModel, readModel, readModel, readModelCopyright © 2018. All rights reserved.