Cytoscape 2.8.0 API

org.cytoscape.equations
Class Equation

java.lang.Object
  extended by org.cytoscape.equations.Equation

public class Equation
extends Object


Method Summary
 boolean equals(Object other)
           
 Set<String> getAttribReferences()
           
 Object[] getCode()
           
static Equation getErrorEquation(String equation, Class type, String errorMessage)
          A factory method that returns an Equation that always fails at runtime.
 int[] getSourceLocations()
           
 Class getType()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

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 equation
type - the return type of the error equation
errorMessage - the runtime error message that the returned equation will produce

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.