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.

    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
        classId - portable class ID
        portable instance or null if class ID is not known by this factory