Package org.forgerock.util
Interface Factory<T>
-
- Type Parameters:
T
- The type of object created by this factory.
- 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 interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
newInstance()
Creates and returns a new object instance.
-
-
-
Method Detail
-
newInstance
T newInstance()
Creates and returns a new object instance.- Returns:
- The new object instance.
-
-