public final void addSerializer ( @ NotNull final SerializedDataType type , @ NotNull final Serializer serializer ) { Contract . requireArgNotNull ( "type" , type ) ; Contract . requireArgNotNull ( "serializer" , serializer ) ; serMap . put ( type , serializer ) ; }
Adds a new serializer to the registry .