org.cytoscape.equations
Class Equation
java.lang.Object
org.cytoscape.equations.Equation
public class Equation
- extends Object
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
getAttribReferences
public Set<String> getAttribReferences()
getCode
public Object[] getCode()
getSourceLocations
public int[] getSourceLocations()
getType
public Class getType()
getErrorEquation
public static Equation getErrorEquation(String equation,
Class type,
String errorMessage)
- A factory method that returns an Equation that always fails at runtime.
- Parameters:
equation
- an arbitrary string that is usually a syntactically invalid equationtype
- the return type of the error equationerrorMessage
- the runtime error message that the returned equation will produce
Copyright 2010 Cytoscape Consortium. All rights reserved.