Uses of Class
org.esa.snap.core.jexp.Term
Packages that use Term
Package
Description
Contains SNAP's central classes and interfaces used for an in-memory presentation
of remote sensing data products.
Provides frequently used JAI
OpImage implementations and the
ImageManager utility class.The JEXP API (JEXP = Java Expression Parser).
-
Uses of Term in org.esa.snap.core.datamodel
Methods in org.esa.snap.core.datamodel that return TermModifier and TypeMethodDescriptionProduct.parseExpression(String expression) Parses a mathematical expression given as a text string. -
Uses of Term in org.esa.snap.core.dataop.barithm
Methods in org.esa.snap.core.dataop.barithm that return TermModifier and TypeMethodDescriptionTerm[]RasterDataLoop.getTerms()static TermBandArithmetic.parseExpression(String expression, Product contextProduct) Parses the given expression.static TermBandArithmetic.parseExpression(String expression, Product[] products, int contextProductIndex) Parses the given expression.Methods in org.esa.snap.core.dataop.barithm with parameters of type TermModifier and TypeMethodDescriptionstatic booleanBandArithmetic.areRastersEqualInSize(Term term) Determines whether all rasters which are referenced in a term are compatible.static RasterDataSymbol[]BandArithmetic.getRefRasterDataSymbols(Term... terms) Utility method which returns all raster data symbols referenced in a given compiled band math expressions.static RasterDataNode[]BandArithmetic.getRefRasters(Term... terms) Utility method which returns all raster data nodes referenced in the given compiled band math expressions.Constructors in org.esa.snap.core.dataop.barithm with parameters of type TermModifierConstructorDescriptionRasterDataLoop(int offsetX, int offsetY, int regionWidth, int regionHeight, Term[] terms, ProgressMonitor pm) Creates an instance of this class for the given region and terms.RasterDataLoop(RasterDataEvalEnv rasterDataEvalEnv, Term[] terms, ProgressMonitor pm) Creates an instance of this class for the given region and terms. -
Uses of Term in org.esa.snap.core.image
Methods in org.esa.snap.core.image that return TermModifier and TypeMethodDescriptionstatic TermVirtualBandOpImage.parseExpression(String expression, int contextSourceIndex, Product... sources) static TermVirtualBandOpImage.parseExpression(String expression, Product source) Methods in org.esa.snap.core.image with parameters of type TermConstructors in org.esa.snap.core.image with parameters of type Term -
Uses of Term in org.esa.snap.core.jexp
Subclasses of Term in org.esa.snap.core.jexpModifier and TypeClassDescriptionstatic final classThe numerical ADD operation: n-term+n-termstatic final classThe logical AND operation: b-term&&b-termstatic final classThe bitwise AND operation: i-term&i-termstatic final classThe assignment operation variable-ref-term=termstatic classstatic classAn abstract binary (= 2 operands) operation.static classAn abstract binary (= 2 operands) operation with a return type ofint.static classAn abstract binary (= 2 operands) operation with a numeric return type.static final classA call of a (or reference to a).Functionstatic final classThe conditional operation b-term?term:termstatic classA boolean constant, e.g.static final classA boolean constant, e.g.static final classA floating point constant, e.g.static final classAn integer constant, e.g.static classstatic final classThe numerical DIV operation: n-term/n-termstatic final classThe boolean EQ operation: b-term==b-termstatic final classThe double EQ operation: d-term==d-termstatic final classThe integer EQ operation: i-term==i-termstatic final classThe double GE operation: d-term>=d-termstatic final classThe integer GE operation: i-term>=i-termstatic final classThe double GT operation: d-term>d-termstatic final classThe integer GT operation: i-term>i-termstatic final classThe double LE operation: d-term<=d-termstatic final classThe integer LE operation: i-term<=i-termstatic final classThe double LT operation: d-term<d-termstatic final classThe integer LT operation: i-term<i-termstatic final classThe numerical MOD (modulo) operation: n-term%n-termstatic final classThe numerical MUL operation: n-term*n-termstatic final classThe numerical NEG operation:-d-termstatic final classThe boolean NEQ operation: b-term!=b-termstatic final classThe double NEQ operation: d-term!=d-termstatic final classThe integer NEQ operation: i-term!=i-termstatic final classThe logical NOT operation!b-termstatic final classThe bitwise NOT operation:~i-termstatic classAn abstract operation.static final classThe logical OR operation: b-term||b-termstatic final classThe bitwise OR operation: i-term¦i-termstatic final classA reference to a.Symbolstatic final classThe numerical SUB operation: n-term-n-termstatic classAn abstract unary (= 1 operand) operation.static classAn abstract unary (= 1 operand) operation with return type ofboolean.static classAn abstract unary (= 1 operand) operation with return type ofint.static classAn abstract unary (= 1 operand) operation with a numeric return type.static final classThe bitwise XOR operation: i-term^i-termFields in org.esa.snap.core.jexp declared as TermModifier and TypeFieldDescriptionprotected final TermTerm.Unary.argprotected final TermTerm.Binary.arg1protected final TermTerm.Cond.arg1protected final TermTerm.Binary.arg2protected final TermTerm.Cond.arg2protected final TermTerm.Cond.arg3protected final Term[]Term.Call.argsprotected final Term[]Term.Op.argsMethods in org.esa.snap.core.jexp that return TermModifier and TypeMethodDescriptiondefault TermApplies the transformer to the given term and returns the transformed term.Term.Call.getArg()Term.Call.getArg(int index) Term.Op.getArg()Term.Op.getArg(int index) Term[]Term.Call.getArgs()Term[]Term.Op.getArgs()Term[]Term.Call.getChildren()Term[]Term.getChildren()Returns an array of terms which are children of this term.Term[]Term.Op.getChildren()Parses the expression given in the code string.Parses the expression given in the code string.AbstractTermTransformer.visit(Term.Assign term) AbstractTermTransformer.visit(Term.ConstB term) AbstractTermTransformer.visit(Term.ConstD term) AbstractTermTransformer.visit(Term.ConstI term) AbstractTermTransformer.visit(Term.ConstS term) Methods in org.esa.snap.core.jexp with parameters of type TermModifier and TypeMethodDescriptiondefault TermApplies the transformer to the given term and returns the transformed term.intabstract intfinal intintintbooleanEvaluates this function to abooleanvalue.doubleEvaluates this function to adoublevalue.intEvaluates this function to anintvalue.booleanNamespace.resolveFunction(String name, Term[] args) Resolves the given name and argument list in order to find a matching function.Constructors in org.esa.snap.core.jexp with parameters of type TermModifierConstructorDescriptionprotectedprotectedprotectedprotectedprotectedprotectedprotectedprotectedprotected