/[classpath]/classpath/java/util/SortedSet.java
ViewVC logotype

Diff of /classpath/java/util/SortedSet.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by gnu_andrew, Tue Aug 17 22:19:57 2004 UTC revision 1.9 by gnu_andrew, Wed Oct 20 20:05:24 2004 UTC
# Line 99  public interface SortedSet extends Set Line 99  public interface SortedSet extends Set
99     * <p>     * <p>
100     *     *
101     * The returned set throws an IllegalArgumentException any time an element is     * The returned set throws an IllegalArgumentException any time an element is
102     * used which is out of the range of toElement. Note that the endpoint is not     * used which is out of the range of toElement. Note that the endpoint, toElement,
103     * included; if you want the endpoint, pass the successor object in to     * is not included; if you want this value included, pass its successor object in to
104     * toElement.  For example, for Strings, you can request     * toElement.  For example, for Integers, you could request
105     * <code>headSet(limit + "\0")</code>.     * <code>headSet(new Integer(limit.intValue() + 1))</code>.
106     *     *
107     * @param toElement the exclusive upper range of the subset     * @param toElement the exclusive upper range of the subset
108     * @return the subset     * @return the subset
# Line 133  public interface SortedSet extends Set Line 133  public interface SortedSet extends Set
133     * The returned set throws an IllegalArgumentException any time an element is     * The returned set throws an IllegalArgumentException any time an element is
134     * used which is out of the range of fromElement and toElement. Note that the     * used which is out of the range of fromElement and toElement. Note that the
135     * lower endpoint is included, but the upper is not; if you want to     * lower endpoint is included, but the upper is not; if you want to
136     * change the inclusion or exclusion of an endpoint, pass the successor     * change the inclusion or exclusion of an endpoint, pass its successor
137     * object in instead.  For example, for Strings, you can request     * object in instead.  For example, for Integers, you can request
138     * <code>subSet(lowlimit + "\0", highlimit + "\0")</code> to reverse     * <code>subSet(new Integer(lowlimit.intValue() + 1),
139       * new Integer(highlimit.intValue() + 1))</code> to reverse
140     * the inclusiveness of both endpoints.     * the inclusiveness of both endpoints.
141     *     *
142     * @param fromElement the inclusive lower range of the subset     * @param fromElement the inclusive lower range of the subset
# Line 157  public interface SortedSet extends Set Line 158  public interface SortedSet extends Set
158     * <p>     * <p>
159     *     *
160     * The returned set throws an IllegalArgumentException any time an element is     * The returned set throws an IllegalArgumentException any time an element is
161     * used which is out of the range of fromElement. Note that the endpoint is     * used which is out of the range of fromElement. Note that the endpoint,
162     * included; if you do not want the endpoint, pass the successor object in     * fromElement, is included; if you do not want this value to be included, pass its
163     * to fromElement.  For example, for Strings, you can request     * successor object in to fromElement.  For example, for Integers, you could request
164     * <code>tailSet(limit + "\0")</code>.     * <code>tailSet(new Integer(limit.intValue() + 1))</code>.
165     *     *
166     * @param fromElement the inclusive lower range of the subset     * @param fromElement the inclusive lower range of the subset
167     * @return the subset     * @return the subset

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26