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

Diff of /classpath/java/util/SortedMap.java

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

revision 1.7.2.1 by tromey, Thu Aug 5 21:09:36 2004 UTC revision 1.7.2.2 by gnu_andrew, Sat Jan 15 17:02:16 2005 UTC
# Line 97  public interface SortedMap<K, V> extends Line 97  public interface SortedMap<K, V> extends
97     * <p>     * <p>
98     *     *
99     * The returned map throws an IllegalArgumentException any time a key is     * The returned map throws an IllegalArgumentException any time a key is
100     * used which is out of the range of toKey. Note that the endpoint is not     * used which is out of the range of toKey. Note that the endpoint, toKey,
101     * included; if you want the endpoint, pass the successor object in to     * is not included; if you want this value to be included, pass its successor
102     * toKey.  For example, for Strings, you can request     * object in to toKey.  For example, for Integers, you could request
103     * <code>headMap(limit + "\0")</code>.     * <code>headMap(new Integer(limit.intValue() + 1))</code>.
104     *     *
105     * @param toKey the exclusive upper range of the submap     * @param toKey the exclusive upper range of the submap
106     * @return the submap     * @return the submap
# Line 130  public interface SortedMap<K, V> extends Line 130  public interface SortedMap<K, V> extends
130     * The returned map throws an IllegalArgumentException any time a key is     * The returned map throws an IllegalArgumentException any time a key is
131     * used which is out of the range of fromKey and toKey. Note that the     * used which is out of the range of fromKey and toKey. Note that the
132     * 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
133     * change the inclusion or exclusion of an endpoint, pass the successor     * change the inclusion or exclusion of an endpoint, pass its successor
134     * object in instead.  For example, for Strings, you can request     * object in instead.  For example, for Integers, you could request
135     * <code>subMap(lowlimit + "\0", highlimit + "\0")</code> to reverse     * <code>subMap(new Integer(lowlimit.intValue() + 1),
136       * new Integer(highlimit.intValue() + 1))</code> to reverse
137     * the inclusiveness of both endpoints.     * the inclusiveness of both endpoints.
138     *     *
139     * @param fromKey the inclusive lower range of the submap     * @param fromKey the inclusive lower range of the submap
# Line 154  public interface SortedMap<K, V> extends Line 155  public interface SortedMap<K, V> extends
155     * <p>     * <p>
156     *     *
157     * The returned map throws an IllegalArgumentException any time a key is     * The returned map throws an IllegalArgumentException any time a key is
158     * used which is out of the range of fromKey. Note that the endpoint is     * used which is out of the range of fromKey. Note that the endpoint, fromKey, is
159     * included; if you do not want the endpoint, pass the successor object in     * included; if you do not want this value to be included, pass its successor object in
160     * to fromKey.  For example, for Strings, you can request     * to fromKey.  For example, for Integers, you could request
161     * <code>tailMap(limit + "\0")</code>.     * <code>tailMap(new Integer(limit.intValue() + 1))</code>.
162     *     *
163     * @param fromKey the inclusive lower range of the submap     * @param fromKey the inclusive lower range of the submap
164     * @return the submap     * @return the submap

Legend:
Removed from v.1.7.2.1  
changed lines
  Added in v.1.7.2.2

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