⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classificationfunction.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<DD><DL></DL></DD></DL><HR><A NAME="getExpression()"><!-- --></A><H3>getExpression</H3><PRE>public <A HREF="../../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A> <B>getExpression</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setExpression(org.geotools.filter.Expression)"><!-- --></A><H3>setExpression</H3><PRE>public void <B>setExpression</B>(<A HREF="../../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A>&nbsp;e)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getProgressListener()"><!-- --></A><H3>getProgressListener</H3><PRE>public <A HREF="../../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A> <B>getProgressListener</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setProgressListener(org.geotools.util.ProgressListener)"><!-- --></A><H3>setProgressListener</H3><PRE>public void <B>setProgressListener</B>(<A HREF="../../../../org/geotools/util/ProgressListener.html" title="interface in org.geotools.util">ProgressListener</A>&nbsp;progress)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getArgs()"><!-- --></A><H3>getArgs</H3><PRE>public <A HREF="../../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A>[] <B>getArgs</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/filter/FunctionExpression.html" title="interface in org.geotools.filter">FunctionExpression</A></CODE></B></DD><DD>Gets the arguments to be evaluated by this function.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/filter/FunctionExpression.html#getArgs()">getArgs</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/filter/FunctionExpression.html" title="interface in org.geotools.filter">FunctionExpression</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/filter/FunctionExpressionImpl.html#getArgs()">getArgs</A></CODE> in class <CODE><A HREF="../../../../org/geotools/filter/FunctionExpressionImpl.html" title="class in org.geotools.filter">FunctionExpressionImpl</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getName()"><!-- --></A><H3>getName</H3><PRE>public abstract <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getName</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/filter/FunctionExpression.html" title="interface in org.geotools.filter">FunctionExpression</A></CODE></B></DD><DD>Gets the name of this function.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/filter/FunctionExpression.html#getName()">getName</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/filter/FunctionExpression.html" title="interface in org.geotools.filter">FunctionExpression</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/filter/FunctionExpressionImpl.html#getName()">getName</A></CODE> in class <CODE><A HREF="../../../../org/geotools/filter/FunctionExpressionImpl.html" title="class in org.geotools.filter">FunctionExpressionImpl</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the name of the function.</DL></DD></DL><HR><A NAME="setArgs(org.geotools.filter.Expression[])"><!-- --></A><H3>setArgs</H3><PRE>public void <B>setArgs</B>(<A HREF="../../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A>[]&nbsp;args)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/filter/FunctionExpression.html" title="interface in org.geotools.filter">FunctionExpression</A></CODE></B></DD><DD>Sets the arguments to be evaluated by this function.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/filter/FunctionExpression.html#setArgs(org.geotools.filter.Expression[])">setArgs</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/filter/FunctionExpression.html" title="interface in org.geotools.filter">FunctionExpression</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/filter/FunctionExpressionImpl.html#setArgs(org.geotools.filter.Expression[])">setArgs</A></CODE> in class <CODE><A HREF="../../../../org/geotools/filter/FunctionExpressionImpl.html" title="class in org.geotools.filter">FunctionExpressionImpl</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="evaluate(org.geotools.feature.Feature)"><!-- --></A><H3>evaluate</H3><PRE>public 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> <B>evaluate</B>(<A HREF="../../../../org/geotools/feature/Feature.html" title="interface in org.geotools.feature">Feature</A>&nbsp;feature)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A></CODE></B></DD><DD>Evaluates the expression against an instance of <A HREF="../../../../org/geotools/feature/Feature.html" title="interface in org.geotools.feature"><CODE>Feature</CODE></A>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/filter/Expression.html#evaluate(org.geotools.feature.Feature)">evaluate</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/filter/DefaultExpression.html#evaluate(org.geotools.feature.Feature)">evaluate</A></CODE> in class <CODE><A HREF="../../../../org/geotools/filter/DefaultExpression.html" title="class in org.geotools.filter">DefaultExpression</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>feature</CODE> - Specified feature to use when returning value.<DT><B>Returns:</B><DD>The value of this expression based on the feature.</DL></DD></DL><HR><A NAME="getValue(int)"><!-- --></A><H3>getValue</H3><PRE>public <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>getValue</B>(int&nbsp;index)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="decimalPlaces(double)"><!-- --></A><H3>decimalPlaces</H3><PRE>protected int <B>decimalPlaces</B>(double&nbsp;slotWidth)</PRE><DL><DD>Determines the number of decimal places to truncate the interval at (public for testing purposes only).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>slotWidth</CODE> - </DL></DD></DL><HR><A NAME="round(double, int)"><!-- --></A><H3>round</H3><PRE>protected double <B>round</B>(double&nbsp;value,                       int&nbsp;decimalPlaces)</PRE><DL><DD>Truncates a double to a certain number of decimals places. Note: truncation at zero decimal places will still show up as x.0, since we're using the double type.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - number to round-off<DD><CODE>decimalPlaces</CODE> - number of decimal places to leave<DT><B>Returns:</B><DD>the rounded value</DL></DD></DL><HR><A NAME="fixRound(double, int, boolean)"><!-- --></A><H3>fixRound</H3><PRE>protected double <B>fixRound</B>(double&nbsp;value,                          int&nbsp;decimalPlaces,                          boolean&nbsp;up)</PRE><DL><DD>Corrects a round off operation by incrementing or decrementing the decimal place (preferably the smallest one).  This should usually be used to adjust the bounds to include a value.  Example: 0.31-->0.44 where 0.44 is the maximum value and end of the range.  We could just make the , round(0.31, 1)=0.3; round(0.44 max value = 0.49<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - <DD><CODE>decimalPlaces</CODE> - <DD><CODE>up</CODE> - </DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ClassificationFunction.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;PREV CLASS&nbsp;&nbsp;<A HREF="../../../../org/geotools/filter/function/Collection_AverageFunction.html" title="class in org.geotools.filter.function"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="ClassificationFunction.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_DefaultExpression">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright &copy; 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -