de.caff.generics

## Interface Factory<T>

- Type Parameters:
    `T` - the type to create
  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 Factory<T>

  A factory knows how to create objects of a given type.
  Author:
    Rammi

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `T` | `create()` Create a new object of type T.

- - ### Method Detail

    - #### create

          T create()

      Create a new object of type T.
      Returns:
        new object
      Throws:
        `FactoryError` - if the creation was not possible