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.

@FunctionalInterface public static interface DataSerializers.SizeAwareFactory<C>
Factory which creates something based on the size parameter.
  • Method Summary

    Modifier and Type
    Method
    Description
    create(int size)
    Creates an object based on the size.
  • Method Details

    • create

      @NotNull C create(int size)
      Creates an object based on the size.
      Parameters:
      size - size used for object creation
      Returns:
      created object