Package org.tensorics.core.util
Interface Instantiator<A,T>
-
- Type Parameters:
A
- the type of the argument required to create an instanceT
- the type of the instance to be created.
- All Known Implementing Classes:
SingleArgumentConstructorInstantiator
,SingleArgumentFactoryMethodInstantiator
,SingleArgumentInvokableInstantiator
public interface Instantiator<A,T>
Provides a way to create instances of a certain type of objects, which need one argument as their input.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <A1 extends A>
Tcreate(A1 argument)
Creates an instance, using the given argument.
-