diff options
Diffstat (limited to 'libjava/java/util/SortedSet.java')
| -rw-r--r-- | libjava/java/util/SortedSet.java | 2 |
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(); |
