|
||||||||||
| 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.ConstantRightModAction
public final class ConstantRightModAction
This class implements the mod action with a constant right hand value.
| Constructor Summary | |
|---|---|
ConstantRightModAction(Action left,
int right)
Constructs a new mod action, to get the remainder from dividing the result of the left hand side action by the right. |
|
| 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 ConstantRightModAction(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 | |||||||||