summaryrefslogtreecommitdiff
path: root/libjava/java/util/SortedSet.java
diff options
context:
space:
mode:
authorAndrew John Hughes <gnu_andrew@member.fsf.org>2004-08-01 11:14:42 +0000
committerMichael Koch <mkoch@gcc.gnu.org>2004-08-01 11:14:42 +0000
commitb828123e23c9a8fb42b98a54b34141fe4dace764 (patch)
tree3ae8e78c344eaaa79a9b787c8b0546d1c8fdb2c0 /libjava/java/util/SortedSet.java
parent5b5662eea779eb744d214bd46fc4e4fed67b8d33 (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/SortedSet.java')
-rw-r--r--libjava/java/util/SortedSet.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/libjava/java/util/SortedSet.java b/libjava/java/util/SortedSet.java
index 401edb97395..81dff0ca229 100644
--- a/libjava/java/util/SortedSet.java
+++ b/libjava/java/util/SortedSet.java
@@ -88,6 +88,7 @@ public interface SortedSet extends Set
* Returns the first (lowest sorted) element in the map.
*
* @return the first element
+ * @throws NoSuchElementException if the set is empty.
*/
Object first();
@@ -118,6 +119,7 @@ public interface SortedSet extends Set
* Returns the last (highest sorted) element in the map.
*
* @return the last element
+ * @throws NoSuchElementException if the set is empty.
*/
Object last();