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

📄 rangeset.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<HR><A NAME="add(double, double)"><!-- --></A><H3>add</H3><PRE>public boolean <B>add</B>(double&nbsp;lower,                   double&nbsp;upper)            throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></PRE><DL><DD>Add a range of values to this set. Range may be added in any order. If the specified range overlap an existing range, the two ranges will be merged.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>lower</CODE> - The lower value, inclusive.<DD><CODE>upper</CODE> - The upper value, inclusive.<DT><B>Returns:</B><DD> if this set changed as a result of the call.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if  is greater than .</DL></DD></DL><HR><A NAME="remove(java.lang.Comparable, java.lang.Comparable)"><!-- --></A><H3>remove</H3><PRE>public boolean <B>remove</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Comparable.html" title="class or interface in java.lang">Comparable</A>&nbsp;lower,                      <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Comparable.html" title="class or interface in java.lang">Comparable</A>&nbsp;upper)               throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></PRE><DL><DD>Remove a range of values from this set. Range may be removed in any order.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>lower</CODE> - The lower value to remove, exclusive.<DD><CODE>upper</CODE> - The upper value to remove, exclusive.<DT><B>Returns:</B><DD> if this set changed as a result of the call.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if  is greater than .</DL></DD></DL><HR><A NAME="remove(byte, byte)"><!-- --></A><H3>remove</H3><PRE>public boolean <B>remove</B>(byte&nbsp;lower,                      byte&nbsp;upper)               throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></PRE><DL><DD>Remove a range of values from this set. Range may be removed in any order.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>lower</CODE> - The lower value to remove, exclusive.<DD><CODE>upper</CODE> - The upper value to remove, exclusive.<DT><B>Returns:</B><DD> if this set changed as a result of the call.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if  is greater than .</DL></DD></DL><HR><A NAME="remove(short, short)"><!-- --></A><H3>remove</H3><PRE>public boolean <B>remove</B>(short&nbsp;lower,                      short&nbsp;upper)               throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></PRE><DL><DD>Remove a range of values from this set. Range may be removed in any order.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>lower</CODE> - The lower value to remove, exclusive.<DD><CODE>upper</CODE> - The upper value to remove, exclusive.<DT><B>Returns:</B><DD> if this set changed as a result of the call.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if  is greater than .</DL></DD></DL><HR><A NAME="remove(int, int)"><!-- --></A><H3>remove</H3><PRE>public boolean <B>remove</B>(int&nbsp;lower,                      int&nbsp;upper)               throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></PRE><DL><DD>Remove a range of values from this set. Range may be removed in any order.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>lower</CODE> - The lower value to remove, exclusive.<DD><CODE>upper</CODE> - The upper value to remove, exclusive.<DT><B>Returns:</B><DD> if this set changed as a result of the call.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if  is greater than .</DL></DD></DL><HR><A NAME="remove(long, long)"><!-- --></A><H3>remove</H3><PRE>public boolean <B>remove</B>(long&nbsp;lower,                      long&nbsp;upper)               throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></PRE><DL><DD>Remove a range of values from this set. Range may be removed in any order.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>lower</CODE> - The lower value to remove, exclusive.<DD><CODE>upper</CODE> - The upper value to remove, exclusive.<DT><B>Returns:</B><DD> if this set changed as a result of the call.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if  is greater than .</DL></DD></DL><HR><A NAME="remove(float, float)"><!-- --></A><H3>remove</H3><PRE>public boolean <B>remove</B>(float&nbsp;lower,                      float&nbsp;upper)               throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></PRE><DL><DD>Remove a range of values from this set. Range may be removed in any order.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>lower</CODE> - The lower value to remove, exclusive.<DD><CODE>upper</CODE> - The upper value to remove, exclusive.<DT><B>Returns:</B><DD> if this set changed as a result of the call.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if  is greater than .</DL></DD></DL><HR><A NAME="remove(double, double)"><!-- --></A><H3>remove</H3><PRE>public boolean <B>remove</B>(double&nbsp;lower,                      double&nbsp;upper)               throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></PRE><DL><DD>Remove a range of values from this set. Range may be removed in any order.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>lower</CODE> - The lower value to remove, exclusive.<DD><CODE>upper</CODE> - The upper value to remove, exclusive.<DT><B>Returns:</B><DD> if this set changed as a result of the call.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if  is greater than .</DL></DD></DL><HR><A NAME="getMinValueAsDouble(int)"><!-- --></A><H3>getMinValueAsDouble</H3><PRE>public final double <B>getMinValueAsDouble</B>(int&nbsp;index)                                 throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IndexOutOfBoundsException.html" title="class or interface in java.lang">IndexOutOfBoundsException</A>,                                        <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></PRE><DL><DD>Returns a <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/util/Range.html#getMinValue()" title="class or interface in javax.media.jai.util">range's minimum value</A> as a . The  can be any value from 0 inclusive to the set's <A HREF="../../../org/geotools/util/RangeSet.html#size()"><CODE>size</CODE></A> exclusive. The returned values always increase with .<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - The range index, from 0 inclusive to <A HREF="../../../org/geotools/util/RangeSet.html#size()"><CODE>size</CODE></A> exclusive.<DT><B>Returns:</B><DD>The minimum value for the range at the specified index.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IndexOutOfBoundsException.html" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE> - if  is out of bounds.<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if range elements are not convertible to numbers.</DL></DD></DL><HR><A NAME="getMaxValueAsDouble(int)"><!-- --></A><H3>getMaxValueAsDouble</H3><PRE>public final double <B>getMaxValueAsDouble</B>(int&nbsp;index)                                 throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IndexOutOfBoundsException.html" title="class or interface in java.lang">IndexOutOfBoundsException</A>,                                        <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></PRE><DL><DD>Returns a <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/util/Range.html#getMaxValue()" title="class or interface in javax.media.jai.util">range's maximum value</A> as a . The  can be any value from 0 inclusive to the set's <A HREF="../../../org/geotools/util/RangeSet.html#size()"><CODE>size</CODE></A> exclusive. The returned values always increase with .<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - The range index, from 0 inclusive to <A HREF="../../../org/geotools/util/RangeSet.html#size()"><CODE>size</CODE></A> exclusive.<DT><B>Returns:</B><DD>The maximum value for the range at the specified index.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IndexOutOfBoundsException.html" title="class or interface in java.lang">IndexOutOfBoundsException</A></CODE> - if  is out of bounds.<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/ClassCastException.html" title="class or interface in java.lang">ClassCastException</A></CODE> - if range elements are not convertible to numbers.</DL></DD></DL><HR><A NAME="indexOfRange(java.lang.Comparable)"><!-- --></A><H3>indexOfRange</H3><PRE>public int <B>indexOfRange</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Comparable.html" title="class or interface in java.lang">Comparable</A>&nbsp;value)</PRE><DL><DD>If the specified value is inside a range, returns the index of this range. Otherwise, returns .<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - The value to search.<DT><B>Returns:</B><DD>The index of the range which contains this value, or -1 if there is no such range.</DL></DD></DL><HR><A NAME="contains(java.lang.Object)"><!-- --></A><H3>contains</H3><PRE>public boolean <B>contains</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>&nbsp;object)</PRE><DL><DD>Returns  if this set contains the specified element.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html#contains(java.lang.Object)" title="class or interface in java.util">contains</A></CODE> in interface <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></DL></DD>

⌨️ 快捷键说明

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