Uses of Class
io.protostuff.runtime.ExplicitIdStrategy.Registry
Packages that use ExplicitIdStrategy.Registry
-
Uses of ExplicitIdStrategy.Registry in io.protostuff.runtime
Methods in io.protostuff.runtime that return ExplicitIdStrategy.RegistryModifier and TypeMethodDescriptionIf you are sure that you are only using a single implementation of your interface/abstract class, then it makes sense to map it directly to its impl class to avoid writing the type.<T extends Collection<?>>
ExplicitIdStrategy.RegistryExplicitIdStrategy.Registry.registerCollection
(CollectionSchema.MessageFactory factory, int id) Collection ids start at 1.ExplicitIdStrategy.Registry.registerDelegate
(Delegate<T> delegate, int id) Register aDelegate
and assign an id.ExplicitIdStrategy.Registry.registerEnum
(EnumIO<?> eio, int id) Enum ids start at 1.<T extends Enum<T>>
ExplicitIdStrategy.RegistryExplicitIdStrategy.Registry.registerEnum
(Class<T> clazz, int id) Enum ids start at 1.<T extends Map<?,
?>>
ExplicitIdStrategy.RegistryExplicitIdStrategy.Registry.registerMap
(MapSchema.MessageFactory factory, int id) Map ids start at 1.ExplicitIdStrategy.Registry.registerPojo
(Schema<T> schema, Pipe.Schema<T> pipeSchema, int id) Pojo ids start at 1.ExplicitIdStrategy.Registry.registerPojo
(Class<T> clazz, int id) Pojo ids start at 1.