calcresult.html
来自「Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理」· HTML 代码 · 共 568 行 · 第 1/2 页
HTML
568 行
</TABLE><A NAME="isCompatible(org.geotools.feature.visitor.CalcResult)"><!-- --></A><H3>isCompatible</H3><PRE>public boolean <B>isCompatible</B>(<A HREF="../../../../org/geotools/feature/visitor/CalcResult.html" title="interface in org.geotools.feature.visitor">CalcResult</A> targetResults)</PRE><DL><DD>Returns true if the target results is a compatible type with the current results, with compatible meaning that the two results may be merged.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>targetResults</CODE> - the second CalcResult Object<DT><B>Returns:</B><DD>true if the targetResults can be merged with the current results</DL></DD></DL><HR><A NAME="merge(org.geotools.feature.visitor.CalcResult)"><!-- --></A><H3>merge</H3><PRE>public <A HREF="../../../../org/geotools/feature/visitor/CalcResult.html" title="interface in org.geotools.feature.visitor">CalcResult</A> <B>merge</B>(<A HREF="../../../../org/geotools/feature/visitor/CalcResult.html" title="interface in org.geotools.feature.visitor">CalcResult</A> resultsToAdd)</PRE><DL><DD>Returns the merged results of two CalcResult. The way in which the results are merged is dependent on the type of the results added. A new instance is created containing the merged results. <p> For example: merging two min functions would return the smaller of the two values; merging a count and a sum would return an average. </p><P><DD><DL><DT><B>Parameters:</B><DD><CODE>resultsToAdd</CODE> - <DT><B>Returns:</B><DD>the merged results</DL></DD></DL><HR><A NAME="getValue()"><!-- --></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>()</PRE><DL><DD>Actual answer<P><DD><DL><DT><B>Returns:</B><DD>the calculation result as a generic object</DL></DD></DL><HR><A NAME="toInt()"><!-- --></A><H3>toInt</H3><PRE>public int <B>toInt</B>()</PRE><DL><DD>Access getValue as an int<P><DD><DL><DT><B>Returns:</B><DD>the calculation result as a int (or 0 if not applicable)<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="toDouble()"><!-- --></A><H3>toDouble</H3><PRE>public double <B>toDouble</B>()</PRE><DL><DD>Access getValue as a double<P><DD><DL><DT><B>Returns:</B><DD>the calculation result as a double (or 0 if not applicable)</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public <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>toString</B>()</PRE><DL><DD>Access getValue as a string<P><DD><DL><DT><B>Returns:</B><DD>the calculation result as a string (or "" if not applicable)</DL></DD></DL><HR><A NAME="toLong()"><!-- --></A><H3>toLong</H3><PRE>public long <B>toLong</B>()</PRE><DL><DD>Access getValue as a long<P><DD><DL><DT><B>Returns:</B><DD>the calculation result as a long (or 0 if not applicable)</DL></DD></DL><HR><A NAME="toFloat()"><!-- --></A><H3>toFloat</H3><PRE>public float <B>toFloat</B>()</PRE><DL><DD>Access getValue as a float<P><DD><DL><DT><B>Returns:</B><DD>the calculation result as a float (or 0 if not applicable)</DL></DD></DL><HR><A NAME="toGeometry()"><!-- --></A><H3>toGeometry</H3><PRE>public <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Geometry.html" title="class or interface in com.vividsolutions.jts.geom">Geometry</A> <B>toGeometry</B>()</PRE><DL><DD>Access getValue as a geometry<P><DD><DL><DT><B>Returns:</B><DD>the calculation result as a geometry (or null if not applicable)</DL></DD></DL><HR><A NAME="toEnvelope()"><!-- --></A><H3>toEnvelope</H3><PRE>public <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Envelope.html" title="class or interface in com.vividsolutions.jts.geom">Envelope</A> <B>toEnvelope</B>()</PRE><DL><DD>Access getValue as an envelope<P><DD><DL><DT><B>Returns:</B><DD>the calculation result as an envelope (or null if not applicable)</DL></DD></DL><HR><A NAME="toPoint()"><!-- --></A><H3>toPoint</H3><PRE>public <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Point.html" title="class or interface in com.vividsolutions.jts.geom">Point</A> <B>toPoint</B>()</PRE><DL><DD>Access getValue as a point<P><DD><DL><DT><B>Returns:</B><DD>the calculation result as a point (or null if not applicable)</DL></DD></DL><HR><A NAME="toSet()"><!-- --></A><H3>toSet</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> <B>toSet</B>()</PRE><DL><DD>Access getValue as a set<P><DD><DL><DT><B>Returns:</B><DD>the calculation result as a set (or null if not applicable)</DL></DD></DL><HR><A NAME="toList()"><!-- --></A><H3>toList</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A> <B>toList</B>()</PRE><DL><DD>Access getValue as a list<P><DD><DL><DT><B>Returns:</B><DD>the calculation result as a list (or null if not applicable)</DL></DD></DL><HR><A NAME="toArray()"><!-- --></A><H3>toArray</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>toArray</B>()</PRE><DL><DD>Access getValue as an array<P><DD><DL><DT><B>Returns:</B><DD>the calculation result as an array (or null if not applicable)</DL></DD></DL><HR><A NAME="toMap()"><!-- --></A><H3>toMap</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> <B>toMap</B>()</PRE><DL><DD>Access getValue as a map<P><DD><DL><DT><B>Returns:</B><DD>the calculation result as a map (or null if not applicable)</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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CalcResult.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV CLASS <A HREF="../../../../org/geotools/feature/visitor/FeatureCalc.html" title="interface in org.geotools.feature.visitor"><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> <A HREF="CalcResult.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright © 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?