public class ExprID extends ExprImpl
F.GLOBAL_IDS[]
array of predefined constant expressions. The ExprID is
especially used in the serialization and deserialization of an IExpr
object, by representing an index entry in the
F.GLOBAL_IDS[]
array.F.GLOBAL_IDS
,
Serialized FormASTID, BLANKID, COMPLEXID, DOUBLECOMPLEXID, DOUBLEID, FRACTIONID, INTEGERID, METHODSYMBOLID, PATTERNID, STRINGID, SYMBOLID
Constructor and Description |
---|
ExprID(short exprID)
The ExprID class holds an index for the
F.GLOBAL_IDS[] array of predefined constant expressions. |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(IVisitor<T> visitor)
Accept a visitor with return type T
|
boolean |
accept(IVisitorBoolean visitor)
Accept a visitor with return type
boolean |
int |
accept(IVisitorInt visitor)
Accept a visitor with return type
int |
long |
accept(IVisitorLong visitor)
Accept a visitor with return type
long |
short |
getExprID()
Get the index for the
F.GLOBAL_IDS[] array of predefined constant expressions. |
ISymbol |
head()
If this object is an instance of
IAST get the first element
(offset 0) of the IAST list (i.e. get(0) ). |
int |
hierarchy()
A unique integer ID for the implementation of this expression
|
java.lang.Object |
readResolve()
In deserialization process return the
F.GLOBAL_IDS[ExprID] expression. |
$div, $minus, $plus, $times, $up, abs, and, apply, apply, asType, compareTo, conjugate, copy, dec, divide, egcd, evalComplex, evalDouble, evalNumber, evalSignedNumber, factory, fullFormString, gcd, getAt, inc, internalFormString, internalJavaString, internalScalaString, inverse, leafCount, leaves, minus, mod, multiply, negate, negative, opposite, optional, or, plus, power, power, remainder, replaceAll, replaceAll, replacePart, replaceRepeated, replaceRepeated, replaceRepeated, replaceSlots, signum, subtract, sum, times, topHead, toScript, toScriptFactory, variables2Slots
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
evaluate, evaluateHead, getField, ifPresent, isAllExpanded, isAnd, isArcCos, isArcCosh, isArcSin, isArcSinh, isArcTan, isArcTanh, isAST, isAST, isAST, isAST, isAST, isAST, isAST, isASTSizeGE, isAtom, isBlank, isComplex, isComplexInfinity, isComplexNumeric, isCondition, isConstant, isCos, isCosh, isDerivative, isDirectedInfinity, isE, isExpanded, isFalse, isFlatAST, isFraction, isFree, isFree, isFree, isFreeAST, isFreeAST, isFreeOfPatterns, isFunction, isGEOrdered, isGTOrdered, isIndeterminate, isInfinity, isInteger, isIntegerResult, isLEOrdered, isList, isListOfLists, isLog, isLTOrdered, isMatrix, isMember, isMember, isMinusOne, isModule, isNegative, isNegativeInfinity, isNegativeResult, isNonNegativeResult, isNot, isNumber, isNumEqualInteger, isNumEqualRational, isNumeric, isNumericFunction, isNumericMode, isNumIntValue, isOne, isONE, isOr, isOrderlessAST, isPattern, isPatternDefault, isPatternExpr, isPatternSequence, isPi, isPlus, isPlusTimesPower, isPolynomial, isPolynomial, isPolynomialOfMaxDegree, isPositive, isPositiveResult, isPower, isPresent, isRational, isRationalResult, isRationalValue, isRealResult, isRuleAST, isSame, isSame, isSequence, isSignedNumber, isSin, isSinh, isSlot, isSlotSequence, isSpan, isSymbol, isTan, isTanh, isTimes, isTrue, isUnit, isValue, isVariable, isVector, isZero, isZERO, multiply, ofNullable, orElse, orElseGet, orElseThrow, reciprocal, timesDistributed
public ExprID(short exprID)
F.GLOBAL_IDS[]
array of predefined constant expressions. The ExprID is
especially used in the serialization and deserialization of an IExpr
object, by representing an index entry in
the F.GLOBAL_IDS[]
array.the
- index in array F.GLOBAL_IDS
F.GLOBAL_IDS
public <T> T accept(IVisitor<T> visitor)
IExpr
public boolean accept(IVisitorBoolean visitor)
IExpr
boolean
public int accept(IVisitorInt visitor)
IExpr
int
public long accept(IVisitorLong visitor)
IExpr
long
public short getExprID()
F.GLOBAL_IDS[]
array of predefined constant expressions.F.GLOBAL_IDS
public ISymbol head()
ExprImpl
IAST
get the first element
(offset 0) of the IAST
list (i.e. get(0) ).public int hierarchy()
IExpr
public java.lang.Object readResolve() throws java.io.ObjectStreamException
F.GLOBAL_IDS[ExprID]
expression.F.GLOBAL_IDS[ExprID]
expressionjava.io.ObjectStreamException