Interface PortableFactory

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

    @FunctionalInterface
    public interface PortableFactory
    PortableFactory is used to create Portable instances during de-serialization.
    See Also:
    Portable, VersionedPortable
    • Method Detail

      • create

        Portable create​(int classId)
        Creates a Portable instance using the given class ID
        Parameters:
        classId - portable class ID
        Returns:
        portable instance or null if class ID is not known by this factory