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:
parent
5b5662eea7
commit
b828123e23
7 changed files with 111 additions and 6 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue