Interface DataSerializers.SizeAwareFactory<C>
- Type Parameters:
C- type of created object
- Enclosing class:
- DataSerializers
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Factory which creates something based on the size parameter.
-
Method Summary
-
Method Details
-
create
Creates an object based on the size.- Parameters:
size- size used for object creation- Returns:
- created object
-