public interface ObjectFactory<T>
An ObjectFactory
is capable of constructing concrete run-time
instances of a certain Class
.
Modifier and Type | Method and Description |
---|---|
Class<T> |
getType()
Return the
Class of the objects being constructed by this factory. |
T |
make()
Create a new run-time instance of the type this factory
is responsible for.
|
T |
make(HGHandle[] targetSet)
Create a new run-time
HGLink instance of the type this factory is
responsible for. |
T make()
Create a new run-time instance of the type this factory is responsible for.
Copyright © 2015. All rights reserved.