diff options
| author | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2004-08-01 11:14:42 +0000 |
|---|---|---|
| committer | Michael Koch <mkoch@gcc.gnu.org> | 2004-08-01 11:14:42 +0000 |
| commit | b828123e23c9a8fb42b98a54b34141fe4dace764 (patch) | |
| tree | 3ae8e78c344eaaa79a9b787c8b0546d1c8fdb2c0 /libjava/java/util/SortedMap.java | |
| parent | 5b5662eea779eb744d214bd46fc4e4fed67b8d33 (diff) | |
Collection.java, [...]: Added additional exceptions to documentation.
2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/util/Collection.java, java/util/List.java,
java/util/Map.java, java/util/Set.java,
java/util/SortedMap.java, java/util/SortedSet.java:
Added additional exceptions to documentation.
From-SVN: r85403
Diffstat (limited to 'libjava/java/util/SortedMap.java')
| -rw-r--r-- | libjava/java/util/SortedMap.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libjava/java/util/SortedMap.java b/libjava/java/util/SortedMap.java index 2ae36f97b3c..742524e7a68 100644 --- a/libjava/java/util/SortedMap.java +++ b/libjava/java/util/SortedMap.java @@ -86,6 +86,7 @@ public interface SortedMap extends Map * Returns the first (lowest sorted) key in the map. * * @return the first key + * @throws NoSuchElementException if this map is empty. */ Object firstKey(); @@ -115,6 +116,7 @@ public interface SortedMap extends Map * Returns the last (highest sorted) key in the map. * * @return the last key + * @throws NoSuchElementException if this map is empty. */ Object lastKey(); |
