Interface DataSerializableFactory

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    public interface DataSerializableFactory
    DataSerializableFactory is used to create IdentifiedDataSerializable instances during de-serialization.
    See Also:
    • Method Detail

      • create

        IdentifiedDataSerializable create​(int typeId)
        Creates an IdentifiedDataSerializable instance using given type ID
        typeId - IdentifiedDataSerializable type ID
        IdentifiedDataSerializable instance or null if type ID is not known by this factory