|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.mit.sketch.system.constraints.ArithmaticExpression
public abstract class ArithmaticExpression
Created: Tue May 28 16:59:45 2002
Copyright: Copyright (C) 2001 by MIT. All rights reserved.
| Constructor Summary | |
|---|---|
ArithmaticExpression(java.util.List props)
|
|
| Method Summary | |
|---|---|
abstract ArithmaticExpression |
copy(java.util.Map objectBindings)
Copy this ArithmaticExpression object but also copy the model properties. |
boolean |
equals(java.lang.Object o)
Returns true if all the properties are the same and the two expressions evaluate to the same value. |
double |
evaluate()
Perform some arithmatic operation on the values of the variables. |
java.util.List |
getProperties()
|
java.util.List |
getUncalculatedProperties()
Get the properties that still need values. |
int |
hashCode()
|
boolean |
readyToEvaluate()
|
void |
reset()
|
abstract java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ArithmaticExpression(java.util.List props)
| Method Detail |
|---|
public void reset()
public java.util.List getUncalculatedProperties()
public boolean readyToEvaluate()
public java.util.List getProperties()
public abstract ArithmaticExpression copy(java.util.Map objectBindings)
public final double evaluate()
public abstract java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||