📄 fidfilterimpl.html
字号:
<CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/FidFilterImpl.html#equals(java.lang.Object)">equals</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> filter)</CODE><BR> Returns a flag indicating object equality.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/FidFilterImpl.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> Determines whether or not the given feature's ID matches this filter.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/FidFilterImpl.html#getFids()">getFids</A></B>()</CODE><BR> <B>Deprecated.</B> <I>use <A HREF="../../../org/geotools/filter/FidFilterImpl.html#getIDs()"><CODE>getIDs()</CODE></A></I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/FidFilterImpl.html#getFidsSet()">getFidsSet</A></B>()</CODE><BR> Accessor method for fid set.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/FidFilterImpl.html#getIDs()">getIDs</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/FidFilterImpl.html#hashCode()">hashCode</A></B>()</CODE><BR> Override of hashCode method.</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/FidFilterImpl.html#removeAllFids(java.util.Collection)">removeAllFids</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A> fidsToRemove)</CODE><BR> Removes a collection of feature IDs from the filter.</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/FidFilterImpl.html#removeFid(java.lang.String)">removeFid</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> fid)</CODE><BR> Removes a feature ID from the filter.</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/FidFilterImpl.html#setIDs(java.util.Set)">setIDs</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> ids)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/filter/FidFilterImpl.html#toString()">toString</A></B>()</CODE><BR> Returns a string representation of this filter.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_AbstractFilterImpl"><!-- --></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/AbstractFilterImpl.html" title="class in org.geotools.filter">AbstractFilterImpl</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/geotools/filter/AbstractFilterImpl.html#and(org.geotools.filter.Filter)">and</A>, <A HREF="../../../org/geotools/filter/AbstractFilterImpl.html#not()">not</A>, <A HREF="../../../org/geotools/filter/AbstractFilterImpl.html#or(org.geotools.filter.Filter)">or</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_AbstractFilter"><!-- --></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/AbstractFilter.html" title="class in org.geotools.filter">AbstractFilter</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/geotools/filter/AbstractFilter.html#accept(org.geotools.filter.FilterVisitor)">accept</A>, <A HREF="../../../org/geotools/filter/AbstractFilter.html#contains(org.geotools.feature.Feature)">contains</A>, <A HREF="../../../org/geotools/filter/AbstractFilter.html#evaluate(java.lang.Object)">evaluate</A>, <A HREF="../../../org/geotools/filter/AbstractFilter.html#getFilterType()">getFilterType</A>, <A HREF="../../../org/geotools/filter/AbstractFilter.html#isCompareFilter(short)">isCompareFilter</A>, <A HREF="../../../org/geotools/filter/AbstractFilter.html#isGeometryDistanceFilter(short)">isGeometryDistanceFilter</A>, <A HREF="../../../org/geotools/filter/AbstractFilter.html#isGeometryFilter(short)">isGeometryFilter</A>, <A HREF="../../../org/geotools/filter/AbstractFilter.html#isLogicFilter(short)">isLogicFilter</A>, <A HREF="../../../org/geotools/filter/AbstractFilter.html#isMathFilter(short)">isMathFilter</A>, <A HREF="../../../org/geotools/filter/AbstractFilter.html#isSimpleFilter(short)">isSimpleFilter</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_FilterAbstract"><!-- --></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/FilterAbstract.html" title="class in org.geotools.filter">FilterAbstract</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/geotools/filter/FilterAbstract.html#accepts(org.geotools.feature.Feature)">accepts</A>, <A HREF="../../../org/geotools/filter/FilterAbstract.html#comparable(org.opengis.filter.expression.Expression, org.geotools.feature.Feature)">comparable</A>, <A HREF="../../../org/geotools/filter/FilterAbstract.html#eval(org.geotools.filter.Expression, org.geotools.feature.Feature)">eval</A>, <A HREF="../../../org/geotools/filter/FilterAbstract.html#eval(org.opengis.filter.expression.Expression, java.lang.Object)">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#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#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#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_FidFilter"><!-- --></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/FidFilter.html" title="interface in org.geotools.filter">FidFilter</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/geotools/filter/FidFilter.html#contains(org.geotools.feature.Feature)">contains</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_Filter"><!-- --></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/Filter.html" title="interface in org.geotools.filter">Filter</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/geotools/filter/Filter.html#accept(org.geotools.filter.FilterVisitor)">accept</A>, <A HREF="../../../org/geotools/filter/Filter.html#and(org.geotools.filter.Filter)">and</A>, <A HREF="../../../org/geotools/filter/Filter.html#getFilterType()">getFilterType</A>, <A HREF="../../../org/geotools/filter/Filter.html#not()">not</A>, <A HREF="../../../org/geotools/filter/Filter.html#or(org.geotools.filter.Filter)">or</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_Filter"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface Filter</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>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="FidFilterImpl()"><!-- --></A><H3>FidFilterImpl</H3><PRE>protected <B>FidFilterImpl</B>()</PRE><DL><DD>Empty constructor.<P></DL><HR><A NAME="FidFilterImpl(java.lang.String)"><!-- --></A><H3>FidFilterImpl</H3><PRE>protected <B>FidFilterImpl</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> initialFid)</PRE><DL><DD>Constructor with first fid set<P><DT><B>Parameters:</B><DD><CODE>initialFid</CODE> - The type of comparison.</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="addFid(java.lang.String)"><!-- --></A><H3>addFid</H3><PRE>public final void <B>addFid</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> fid)</PRE><DL><DD>Adds a feature ID to the filter.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/filter/FidFilter.html#addFid(java.lang.String)">addFid</A></CODE> in interface <CODE><A HREF="../../../org/geotools/filter/FidFilter.html" title="interface in org.geotools.filter">FidFilter</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>fid</CODE> - A single feature ID.</DL></DD></DL><HR><A NAME="evaluate(org.geotools.feature.Feature)"><!-- --></A><H3>evaluate</H3><PRE>public boolean <B>evaluate</B>(<A HREF="../../../org/geotools/feature/Feature.html" title="interface in org.geotools.feature">Feature</A> feature)</PRE><DL><DD>Determines whether or not the given feature's ID matches this filter.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/filter/Filter.html#evaluate(org.geotools.feature.Feature)">evaluate</A></CODE> in interface <CODE><A HREF="../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/filter/FilterAbstract.html#evaluate(org.geotools.feature.Feature)">evaluate</A></CODE> in class <CODE><A HREF="../../../org/geotools/filter/FilterAbstract.html" title="class in org.geotools.filter">FilterAbstract</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>feature</CODE> - Specified feature to examine.<DT><B>Returns:</B><DD><tt>true</tt> if the feature's ID matches an fid held by this filter, <tt>false</tt> otherwise.</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>Returns a string representation of this filter.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>String representation of the compare filter.</DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -