All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class com.cometway.jerminal.commands.instantiate
com.cometway.jerminal.commands.JerminalCommand
   |
   +----com.cometway.jerminal.commands.instantiate
  -  public class instantiate
  
-  extends JerminalCommand
  
This command instantiates a Class and returns the new instance of that class.
 Synopsis:
 
 - instantiate [classname] [constructor param1 type] (constructor param2 type)... [constructor param1 value] (constructor param2 value)...
 
 - The class [classname] is to be instantiated. The constructor to use will have as its first argument
 an Object of type [constructor param1 type] and if exists, the second argument will be of type 
 (constructor param2 type) and so on. There can be as many types as required to describe the 
 constructor. The returned object will be of type [classname] and be instantiated with the arguments:
 [constructor param1 value] and if exists, (constructor param2 value) and so on. The number of 
 constructor values must equal the number of constructor types. The constructor values can be casted
 into the primitive Object representations. For example [constructor param1 value] could be 
 '(Integer)57'.
 
 
  
  -  
	instantiate(JerminalSession)
   -  
 
  
  -  
	evaluate(Vector)
   -   This method is called by the JerminalSession when it uses this command.
 
  
instantiate
 public instantiate(JerminalSession j)
  
evaluate
 public Object evaluate(Vector operands)
  -  This method is called by the JerminalSession when it uses this command.
  
    -  Overrides:
    
 -  evaluate in class JerminalCommand
  
 
 
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index