|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.singularsys.jep.EmptyOperatorTable com.singularsys.jep.OperatorTable2 com.singularsys.jep.standard.StandardOperatorTable2 com.singularsys.jep.misc.ExtendedOperatorSet
public class ExtendedOperatorSet
A example of an OperatorSet which demonstrates some features. Suffix operators: n! (factorial) and n% (percentage) TernaryOperator: cond?tval:fval
Nested Class Summary | |
---|---|
static class |
ExtendedOperatorSet.ExtendedOperators
|
static class |
ExtendedOperatorSet.Factorial
Simple implementation of factorial, good up to 20! |
Nested classes/interfaces inherited from class com.singularsys.jep.OperatorTable2 |
---|
OperatorTable2.BasicOperators, OperatorTable2.PsudoOperators, OperatorTable2.SpecialOperators |
Nested classes/interfaces inherited from class com.singularsys.jep.EmptyOperatorTable |
---|
EmptyOperatorTable.OperatorKey |
Constructor Summary | |
---|---|
ExtendedOperatorSet()
|
|
ExtendedOperatorSet(OperatorTable2 oldTable)
|
Method Summary | |
---|---|
protected void |
setExtendedPfmcs()
|
Methods inherited from class com.singularsys.jep.standard.StandardOperatorTable2 |
---|
setBasicPfmcs, setPsudoPfmcs, setSpecialPfmcs |
Methods inherited from class com.singularsys.jep.OperatorTable2 |
---|
getAdd, getAnd, getAssign, getCross, getDivide, getDot, getEle, getEQ, getGE, getGT, getLE, getList, getLT, getMod, getMultiply, getNE, getNop, getNot, getOr, getPower, getRange, getSubtract, getUDivide, getUMinus, getUPlus |
Methods inherited from class com.singularsys.jep.EmptyOperatorTable |
---|
addOperator, addOperator, appendOperator, entrySet, getKey, getLightWeightInstance, getNumOps, getOperator, getOperators, getOperatorsByName, getOperatorsBySymbol, init, insertOperator, keySet, removeOperator, removeOperator, replaceOperator, replaceOperator, setBinaryInverseOp, setDistributiveOver, setInverseOp, setPrecedenceTable, setRootOp, setStandardOperatorRelations, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExtendedOperatorSet()
public ExtendedOperatorSet(OperatorTable2 oldTable)
oldTable
- Method Detail |
---|
protected void setExtendedPfmcs()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |