Package io.protostuff

Interface CollectionSchema.MessageFactory

All Known Implementing Classes:
CollectionSchema.MessageFactories, DefaultIdStrategy.RuntimeCollectionFactory, ExplicitIdStrategy.RegisteredCollectionFactory, IncrementalIdStrategy.RuntimeCollectionFactory
Enclosing class:
CollectionSchema<V>

public static interface CollectionSchema.MessageFactory
Creates new Collection messages.
  • Method Summary

    Modifier and Type
    Method
    Description
    <V> Collection<V>
    Creates a new Collection message.
    The type to instantiate.
  • Method Details

    • newMessage

      <V> Collection<V> newMessage()
      Creates a new Collection message.
    • typeClass

      Class<?> typeClass()
      The type to instantiate.