|
||||||||||
| 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.office.spreadsheet.formula.action.AsNumberAction
public class AsNumberAction
| Constructor Summary | |
|---|---|
AsNumberAction(org.millscript.millscript.action.Action a)
Creates a new NullIsZero action to transform the result of the specified action into zero if its result is null. |
|
| Method Summary | |
|---|---|
java.lang.Object |
perform(java.lang.Object x)
|
static java.lang.Number |
toNumber(java.lang.Object x)
|
| 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 AsNumberAction(org.millscript.millscript.action.Action a)
null.
a - the action whose result to transform to zero if it is
null| Method Detail |
|---|
public static final java.lang.Number toNumber(java.lang.Object x)
public java.lang.Object perform(java.lang.Object x)
perform in class org.millscript.millscript.action.UnaryOpActionUnaryOpAction.perform(java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||