Class FactoryNewInstance<DATATYPE>

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

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