Class FactoryNewInstance<DATATYPE>

  • Type Parameters:
    DATATYPE - The return type of the factory
    All Implemented Interfaces:
    Supplier<DATATYPE>

    @Immutable
    public class FactoryNewInstance<DATATYPE>
    extends Object
    implements Supplier<DATATYPE>
    Implementation of Supplier that always creates a new instance via reflection
    Author:
    Philip Helger