Package io.protostuff.runtime
Class DefaultIdStrategy.RuntimeCollectionFactory
java.lang.Object
io.protostuff.runtime.DefaultIdStrategy.RuntimeCollectionFactory
- All Implemented Interfaces:
CollectionSchema.MessageFactory
- Enclosing class:
DefaultIdStrategy
static final class DefaultIdStrategy.RuntimeCollectionFactory
extends Object
implements CollectionSchema.MessageFactory
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Class
<?> (package private) final RuntimeEnv.Instantiator
<?> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<V> Collection
<V> Creates a newCollection
message.Class
<?> The type to instantiate.
-
Field Details
-
collectionClass
-
instantiator
-
-
Constructor Details
-
RuntimeCollectionFactory
-
-
Method Details
-
newMessage
Description copied from interface:CollectionSchema.MessageFactory
Creates a newCollection
message.- Specified by:
newMessage
in interfaceCollectionSchema.MessageFactory
-
typeClass
Description copied from interface:CollectionSchema.MessageFactory
The type to instantiate.- Specified by:
typeClass
in interfaceCollectionSchema.MessageFactory
-