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 |
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 |
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 |