📄 mathexpressionimpl.html
字号:
set. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/MathExpressionImpl.html#evaluate(org.geotools.feature.Feature)">evaluate</A></B>(<A HREF="../../../org/geotools/feature/Feature.html" title="interface in org.geotools.feature">Feature</A> feature)</CODE><BR> Returns the value for this expression.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> Expression</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/MathExpressionImpl.html#getExpression1()">getExpression1</A></B>()</CODE><BR> Gets the left or first expression.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> Expression</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/MathExpressionImpl.html#getExpression2()">getExpression2</A></B>()</CODE><BR> Gets the second expression.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/MathExpressionImpl.html#getLeftValue()">getLeftValue</A></B>()</CODE><BR> <B>Deprecated.</B> <I>use <A HREF="../../../org/geotools/filter/MathExpressionImpl.html#getExpression1()"><CODE>getExpression1()</CODE></A>.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/MathExpressionImpl.html#getRightValue()">getRightValue</A></B>()</CODE><BR> <B>Deprecated.</B> <I>use <A HREF="../../../org/geotools/filter/MathExpressionImpl.html#getExpression2()"><CODE>getExpression2()</CODE></A>.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> short</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/MathExpressionImpl.html#getType()">getType</A></B>()</CODE><BR> Gets the type of this expression.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/MathExpressionImpl.html#number(double)">number</A></B>(double number)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/MathExpressionImpl.html#setExpression1(org.opengis.filter.expression.Expression)">setExpression1</A></B>(Expression expression)</CODE><BR> Gets the left or first expression.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/MathExpressionImpl.html#setExpression2(org.opengis.filter.expression.Expression)">setExpression2</A></B>(Expression expression)</CODE><BR> Gets the second expression.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_DefaultExpression"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="../../../org/geotools/filter/DefaultExpression.html" title="class in org.geotools.filter">DefaultExpression</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/geotools/filter/DefaultExpression.html#accept(org.geotools.filter.FilterVisitor)">accept</A>, <A HREF="../../../org/geotools/filter/DefaultExpression.html#evaluate(java.lang.Object)">evaluate</A>, <A HREF="../../../org/geotools/filter/DefaultExpression.html#getValue(org.geotools.feature.Feature)">getValue</A>, <A HREF="../../../org/geotools/filter/DefaultExpression.html#isAttributeExpression(short)">isAttributeExpression</A>, <A HREF="../../../org/geotools/filter/DefaultExpression.html#isExpression(short)">isExpression</A>, <A HREF="../../../org/geotools/filter/DefaultExpression.html#isFunctionExpression(short)">isFunctionExpression</A>, <A HREF="../../../org/geotools/filter/DefaultExpression.html#isGeometryExpression(short)">isGeometryExpression</A>, <A HREF="../../../org/geotools/filter/DefaultExpression.html#isLiteralExpression(short)">isLiteralExpression</A>, <A HREF="../../../org/geotools/filter/DefaultExpression.html#isMathExpression(org.opengis.filter.expression.Expression)">isMathExpression</A>, <A HREF="../../../org/geotools/filter/DefaultExpression.html#isMathExpression(short)">isMathExpression</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_ExpressionAbstract"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="../../../org/geotools/filter/expression/ExpressionAbstract.html" title="class in org.geotools.filter.expression">ExpressionAbstract</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/geotools/filter/expression/ExpressionAbstract.html#accept(org.opengis.filter.expression.ExpressionVisitor, java.lang.Object)">accept</A>, <A HREF="../../../org/geotools/filter/expression/ExpressionAbstract.html#eval(org.geotools.filter.Expression, org.geotools.feature.Feature)">eval</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_MathExpression"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface <A HREF="../../../org/geotools/filter/MathExpression.html" title="interface in org.geotools.filter">MathExpression</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/geotools/filter/MathExpression.html#getValue(org.geotools.feature.Feature)">getValue</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_Expression"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface <A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/geotools/filter/Expression.html#accept(org.geotools.filter.FilterVisitor)">accept</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_Expression"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface Expression</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>accept, evaluate</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="MathExpressionImpl()"><!-- --></A><H3>MathExpressionImpl</H3><PRE>protected <B>MathExpressionImpl</B>()</PRE><DL><DD>No argument constructor.<P></DL><HR><A NAME="MathExpressionImpl(org.opengis.filter.expression.Expression, org.opengis.filter.expression.Expression)"><!-- --></A><H3>MathExpressionImpl</H3><PRE>protected <B>MathExpressionImpl</B>(Expression e1, Expression e2)</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="addLeftValue(org.geotools.filter.Expression)"><!-- --></A><H3>addLeftValue</H3><PRE>public final void <B>addLeftValue</B>(<A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A> leftValue) throws <A HREF="../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></PRE><DL><DD><B>Deprecated.</B> <I>use <A HREF="../../../org/geotools/filter/MathExpressionImpl.html#setExpression1(org.opengis.filter.expression.Expression)"><CODE>setExpression1(org.opengis.filter.expression.Expression)</CODE></A></I><P><DD>Adds the 'left' value to this expression.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/filter/MathExpression.html#addLeftValue(org.geotools.filter.Expression)">addLeftValue</A></CODE> in interface <CODE><A HREF="../../../org/geotools/filter/MathExpression.html" title="interface in org.geotools.filter">MathExpression</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>leftValue</CODE> - Expression to add to this expression.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></CODE> - Attempting to add non-math expression.</DL></DD></DL><HR><A NAME="addRightValue(org.geotools.filter.Expression)"><!-- --></A><H3>addRightValue</H3><PRE>public final void <B>addRightValue</B>(<A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A> rightValue) throws <A HREF="../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></PRE><DL><DD><B>Deprecated.</B> <I>use <A HREF="../../../org/geotools/filter/MathExpressionImpl.html#setExpression2(org.opengis.filter.expression.Expression)"><CODE>setExpression2(org.opengis.filter.expression.Expression)</CODE></A></I><P><DD>Adds the 'right' value to this expression.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/filter/MathExpression.html#addRightValue(org.geotools.filter.Expression)">addRightValue</A></CODE> in interface <CODE><A HREF="../../../org/geotools/filter/MathExpression.html" title="interface in org.geotools.filter">MathExpression</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>rightValue</CODE> - Expression to add to this expression.<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/geotools/filter/IllegalFilterException.html" title="class in org.geotools.filter">IllegalFilterException</A></CODE> - Attempting to add non-math expression.</DL></DD></DL><HR><A NAME="getLeftValue()"><!-- --></A><H3>getLeftValue</H3><PRE>public final <A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A> <B>getLeftValue</B>()</PRE><DL><DD><B>Deprecated.</B> <I>use <A HREF="../../../org/geotools/filter/MathExpressionImpl.html#getExpression1()"><CODE>getExpression1()</CODE></A>.</I><P><DD>Gets the left or first expression.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/filter/MathExpression.html#getLeftValue()">getLeftValue</A></CODE> in interface <CODE><A HREF="../../../org/geotools/filter/MathExpression.html" title="interface in org.geotools.filter">MathExpression</A></CODE></DL></DD><DD><DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -