|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.millscript.millscript.action.Action
org.millscript.millscript.action.UnaryOpAction
org.millscript.millscript.action.arithmetic.ConstantRightSubAction
public final class ConstantRightSubAction
This class implements the subtraction action with a constant right hand value.
| Constructor Summary | |
|---|---|
ConstantRightSubAction(Action left,
int right)
Constructs a new subtraction action, to subtract the result of the right hand side action from the left. |
|
| Method Summary | |
|---|---|
java.lang.Object |
perform(java.lang.Object x)
Performs this binary action on the specified value. |
| Methods inherited from class org.millscript.millscript.action.UnaryOpAction |
|---|
action |
| Methods inherited from class org.millscript.millscript.action.Action |
|---|
act, act1, getLineNumber, getOrigin, predAct, setContext, setLineNumber, setOrigin |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConstantRightSubAction(Action left,
int right)
left - the left hand side actionright - the right hand side action| Method Detail |
|---|
public java.lang.Object perform(java.lang.Object x)
UnaryOpAction
perform in class UnaryOpActionx - the unary value
UnaryOpAction.perform(java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||