Author: ruschein
Date: 2010-11-29 10:35:33 -0800 (Mon, 29 Nov 2010)
New Revision: 23034
Modified:
core3/equations-impl/trunk/src/main/java/org/cytoscape/equations/internal/interpreter/InterpreterImpl.java
Log:
Cleanup.
Modified:
core3/equations-impl/trunk/src/main/java/org/cytoscape/equations/internal/interpreter/InterpreterImpl.java
===================================================================
---
core3/equations-impl/trunk/src/main/java/org/cytoscape/equations/internal/interpreter/InterpreterImpl.java
2010-11-29 18:12:20 UTC (rev 23033)
+++
core3/equations-impl/trunk/src/main/java/org/cytoscape/equations/internal/interpreter/InterpreterImpl.java
2010-11-29 18:35:33 UTC (rev 23034)
@@ -51,8 +51,8 @@
public InterpreterImpl() { }
- /** Executes the code that was passed into the constructor.
- * @return a Double, Boolean or String object that is the result of a
successful execution.
+ /** Executes the code that is passed in and returns the result of an
equation's evaluation.
+ * @return a Double, Boolean, String etc. object that is the result of
a successful execution.
* @throws ArithmeticException thrown if an arithmetic error was
detected like a division by zero etc.
* @throws IllegalArgumentException thrown if a function invocation
resulted in a function detecting an invalid argument
* @throws IllegalStateException thrown if an invalid interpreter
internal state was reached
@@ -63,7 +63,7 @@
if (equation == null || variableNameToDescriptorMap == null)
throw new NullPointerException("null equation or
variableNameToDescriptorMap!");
- this.argumentStack = new Stack<Object>();
+ this.argumentStack = new Stack<Object>();
this.variableNameToDescriptorMap = variableNameToDescriptorMap;
final Object[] code = equation.getCode();
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.