|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rubecula.darwin.expressions.EvaluatorFactory
public class EvaluatorFactory
Singleton class with class method to instantiate a new Evaluator
getInstance()| Method Summary | |
|---|---|
Object |
clone()
Implmentation of clone() which always throws a CloneNotSupportedException. |
static EvaluatorFactory |
getInstance()
Class method to get the (singleton) instance of EvaluatorFactory. |
Evaluator |
makeEvaluator_String(String className,
String string)
Instantiate a new implementer of Evaluator from the class called className,
providing one parameter to the constructor: string. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static EvaluatorFactory getInstance()
public Object clone()
throws CloneNotSupportedException
CloneNotSupportedException.
This is really a belt-and-braces approach - but this, combine with the private constructor,
absolutely ensures that there can never be another instance of EvaluatorFactory alive in the same
JVM!
clone in class ObjectCloneNotSupportedExceptionObject.clone()
public Evaluator makeEvaluator_String(String className,
String string)
Evaluator from the class called className,
providing one parameter to the constructor: string.
className - the full name of the class to be instantiatedstring - the parameter to pass to the constructor.
Evaluator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||