- 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 PortableFactoryPortableFactory is used to create Portable instances during de-serialization.
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