JComponentPack 1.5.0

com.zfqjava.formula
Class AbstractFormula

java.lang.Object
  extended by com.zfqjava.formula.AbstractFormula
All Implemented Interfaces:
Formula, Serializable
Direct Known Subclasses:
CellFormula

public abstract class AbstractFormula
extends Object
implements Formula, Serializable

See Also:
Serialized Form

Field Summary
protected  Object value
           
 
Constructor Summary
protected AbstractFormula(String s)
           
 
Method Summary
 boolean equals(Object o)
           
 Object getValue()
          Returns the value after the last evaluate.
 int hashCode()
           
 void setException(Exception e)
          Sets the exception when evaluate the formula
 String toString()
          Returns the string the this formula.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.zfqjava.formula.Formula
evaluate, normalize, toString
 

Field Detail

value

protected transient Object value
Constructor Detail

AbstractFormula

protected AbstractFormula(String s)
Method Detail

getValue

public Object getValue()
Description copied from interface: Formula
Returns the value after the last evaluate.

Specified by:
getValue in interface Formula
Returns:
the value

toString

public String toString()
Description copied from interface: Formula
Returns the string the this formula.

Specified by:
toString in interface Formula
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

setException

public void setException(Exception e)
Description copied from interface: Formula
Sets the exception when evaluate the formula

Specified by:
setException in interface Formula

JComponentPack 1.5.0

Send your Feedback
JComponentPack 1.5.0
Copyright © 2001-2007 Extreme Component, Inc. All rights reserved.