|
Cytoscape 3.0.0-beta1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cytoscape.equations.Equation
public final class Equation
The class representing an equation.
| Constructor Summary | |
|---|---|
Equation(String equation,
Set<String> variableReferences,
Map<String,Object> defaultVariableValues,
Object[] code,
int[] sourceLocations,
Class<?> type)
Constructs an Equation. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
Compares one Equation to another. |
Object[] |
getCode()
Returns the compiled code (not Java byte code!) for the VM representing this Equation. |
Map<String,Object> |
getDefaultVariableValues()
Returns default values for variable references, if any. |
int[] |
getSourceLocations()
Returns the starting points in the original equation for each node in the parse tree that resulted from the original equation. |
Class<?> |
getType()
The overall type of the Equation, e.g. |
Set<String> |
getVariableReferences()
Returns all the variable references that occur as part if this Equation. |
int |
hashCode()
|
String |
toString()
Returns a textual representation of an Equation. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Equation(String equation,
Set<String> variableReferences,
Map<String,Object> defaultVariableValues,
Object[] code,
int[] sourceLocations,
Class<?> type)
Equation.
equation - the string representing this equationvariableReferences - other variables that are referenced by this equationdefaultVariableValues - code - the instruction sequence representing the compiled equationsourceLocations - the starting points in the original equation for each node
in the parse tree that resulted from the original equationtype - the type of the equation, String.class, Boolean.class or Double.class| Method Detail |
|---|
public String toString()
Equation.
toString in class ObjectEquation as a Stringpublic boolean equals(Object other)
Equation to another.
equals in class ObjectEquation is equivalent to "other" and else returns falsepublic int hashCode()
hashCode in class Objectpublic Set<String> getVariableReferences()
Equation.
Equationpublic Map<String,Object> getDefaultVariableValues()
public Object[] getCode()
Equation.
Equationpublic int[] getSourceLocations()
public Class<?> getType()
|
Cytoscape 3.0.0-beta1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||