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
This commit is contained in:
committed by
Michael Koch
parent
5b5662eea7
commit
b828123e23
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user