- 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.
Modifier and Type Method Description
(int classId)Creates a Portable instance using the given class ID
createPortable 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