Uses of Class
me.hsgamer.hscore.serializer.Serializer
Package
Description
Contains the serializer, which is used to serialize and deserialize objects
-
Uses of Serializer in me.hsgamer.hscore.serializer
Modifier and TypeMethodDescriptionprotected abstract Serializer<I,
O> DataConverter.createSerializer()
Create the serializerSerializer<I,
O> DataConverter.getSerializer()
Get the serializer<T extends O>
Serializer<I,O> Register a new entry, without specifying the type and the input function.<T extends O>
Serializer<I,O> Serializer.register
(Class<T> outputClass, Function<I, T> outputFunction, Function<T, I> inputFunction) Register a new entry, without specifying the type.<T extends O>
Serializer<I,O> Serializer.register
(String type, Class<T> outputClass, Function<I, T> outputFunction, Function<T, I> inputFunction) Register a new entrySerializer<I,
O> Serializer.unregister
(Class<? extends O> outputClass) Unregister an entrySerializer<I,
O> Serializer.unregister
(String type) Unregister an entry