Package org.esa.snap.core.jexp
Class Term.Const
java.lang.Object
org.esa.snap.core.jexp.Term
org.esa.snap.core.jexp.Term.Const
- Direct Known Subclasses:
 Term.ConstB,Term.ConstD,Term.ConstI,Term.ConstS
- Enclosing class:
 Term
A boolean constant, e.g. 
true or false.- 
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 - 
Field Summary
 - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionfinal intbooleanEvaluates this term to abooleanvalue.doubleEvaluates this term to adoublevalue.intEvaluates this term to anintvalue.Evaluates this term to aStringvalue.final booleanisConst()intpre()protected abstract booleantoB()protected abstract doubletoD()protected abstract inttoI()protected abstract StringtoS() 
- 
Constructor Details
- 
Const
public Const() 
 - 
 - 
Method Details
- 
evalB
Description copied from class:TermEvaluates this term to abooleanvalue. - 
toB
protected abstract boolean toB() - 
evalI
Description copied from class:TermEvaluates this term to anintvalue. - 
toI
protected abstract int toI() - 
evalD
Description copied from class:TermEvaluates this term to adoublevalue. - 
toD
protected abstract double toD() - 
evalS
Description copied from class:TermEvaluates this term to aStringvalue. The default implementation simply returns the value ofTerm.toString(). - 
toS
 - 
isConst
public final boolean isConst() - 
compare
 - 
pre
public int pre() 
 -