Class NewInstanceFactory<T>

  • All Implemented Interfaces:
    Factory<T>

    public class NewInstanceFactory<T>
    extends Object
    implements Factory<T>
    • Method Detail

      • create

        public T create()
        Specified by:
        create in interface Factory<T>
      • fromClass

        public static <T> Factory<T> fromClass​(Class<T> clazz)