Uses of Class
io.protostuff.runtime.IncrementalIdStrategy.Registry
Packages that use IncrementalIdStrategy.Registry
-
Uses of IncrementalIdStrategy.Registry in io.protostuff.runtime
Methods in io.protostuff.runtime that return IncrementalIdStrategy.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<?>>
IncrementalIdStrategy.RegistryIncrementalIdStrategy.Registry.registerCollection(CollectionSchema.MessageFactory factory, int id) Collection ids start at 1.IncrementalIdStrategy.Registry.registerDelegate(Delegate<T> delegate, int id) Register aDelegateand assign an id.IncrementalIdStrategy.Registry.registerEnum(EnumIO<?> eio, int id) Enum ids start at 1.<T extends Enum<T>>
IncrementalIdStrategy.RegistryIncrementalIdStrategy.Registry.registerEnum(Class<T> clazz, int id) Enum ids start at 1.<T extends Map<?,?>>
IncrementalIdStrategy.RegistryIncrementalIdStrategy.Registry.registerMap(MapSchema.MessageFactory factory, int id) Map ids start at 1.IncrementalIdStrategy.Registry.registerPojo(Schema<T> schema, Pipe.Schema<T> pipeSchema, int id) Pojo ids start at 1.IncrementalIdStrategy.Registry.registerPojo(Class<T> clazz, int id) Pojo ids start at 1.