Package org.esa.snap.core.jexp
Class Term.Neg
- java.lang.Object
-
- org.esa.snap.core.jexp.Term
-
- org.esa.snap.core.jexp.Term.Op
-
- org.esa.snap.core.jexp.Term.Unary
-
- org.esa.snap.core.jexp.Term.UnaryN
-
- org.esa.snap.core.jexp.Term.Neg
-
- Enclosing class:
- Term
public static final class Term.Neg extends Term.UnaryN
The numerical NEG operation:-d-term
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.esa.snap.core.jexp.Term
Term.Add, Term.AndB, Term.AndI, Term.Assign, Term.Binary, Term.BinaryB, Term.BinaryI, Term.BinaryN, Term.Call, Term.Cond, Term.Const, Term.ConstB, Term.ConstD, Term.ConstI, Term.ConstS, Term.Div, Term.EqB, Term.EqD, Term.EqI, Term.GeD, Term.GeI, Term.GtD, Term.GtI, Term.LeD, Term.LeI, Term.LtD, Term.LtI, Term.Mod, Term.Mul, Term.Neg, Term.NEqB, Term.NEqD, Term.NEqI, Term.NotB, Term.NotI, Term.Op, Term.OrB, Term.OrI, Term.Ref, Term.Sub, Term.Unary, Term.UnaryB, Term.UnaryI, Term.UnaryN, Term.XOrI
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Taccept(TermVisitor<T> visitor)Visitor support.doubleevalD(EvalEnv env)Evaluates this term to adoublevalue.intevalI(EvalEnv env)Evaluates this term to anintvalue.-
Methods inherited from class org.esa.snap.core.jexp.Term.UnaryN
evalB
-
Methods inherited from class org.esa.snap.core.jexp.Term.Unary
pre
-
Methods inherited from class org.esa.snap.core.jexp.Term.Op
compare, getArg, getArg, getArgCount, getArgs, getChildren, getName, getRetType, isConst, toString
-
-
-
-
Method Detail
-
evalI
public int evalI(EvalEnv env)
Description copied from class:TermEvaluates this term to anintvalue.
-
evalD
public double evalD(EvalEnv env)
Description copied from class:TermEvaluates this term to adoublevalue.
-
accept
public <T> T accept(TermVisitor<T> visitor)
Description copied from class:TermVisitor support.
-
-