203 |
|
* specified key. |
204 |
|
* @throws ClassCastException if the key cannot be compared with the keys |
205 |
|
* currently in the map. |
206 |
< |
* @throws NullPointerException key is <tt>null</tt> and this map uses |
206 |
> |
* @throws NullPointerException if key is <tt>null</tt> and this map uses |
207 |
|
* natural ordering, or its comparator does not tolerate |
208 |
|
* <tt>null</tt> keys. |
209 |
|
*/ |
260 |
|
* @param key key whose associated value is to be returned. |
261 |
|
* @return the value to which this map maps the specified key, or |
262 |
|
* <tt>null</tt> if the map contains no mapping for the key. |
263 |
< |
* @throws ClassCastException key cannot be compared with the keys |
263 |
> |
* @throws ClassCastException if key cannot be compared with the keys |
264 |
|
* currently in the map. |
265 |
< |
* @throws NullPointerException key is <tt>null</tt> and this map uses |
265 |
> |
* @throws NullPointerException if key is <tt>null</tt> and this map uses |
266 |
|
* natural ordering, or its comparator does not tolerate |
267 |
|
* <tt>null</tt> keys. |
268 |
|
* |
343 |
|
* does not contain an entry for the key. |
344 |
|
* @throws ClassCastException if the key cannot be compared with the keys |
345 |
|
* currently in the map. |
346 |
< |
* @throws NullPointerException key is <tt>null</tt> and this map uses |
346 |
> |
* @throws NullPointerException if key is <tt>null</tt> and this map uses |
347 |
|
* natural order, or its comparator does not tolerate * |
348 |
|
* <tt>null</tt> keys. |
349 |
|
*/ |
546 |
|
* if there was no mapping for key. A <tt>null</tt> return can |
547 |
|
* also indicate that the map previously associated <tt>null</tt> |
548 |
|
* with the specified key. |
549 |
< |
* @throws ClassCastException key cannot be compared with the keys |
549 |
> |
* @throws ClassCastException if key cannot be compared with the keys |
550 |
|
* currently in the map. |
551 |
< |
* @throws NullPointerException key is <tt>null</tt> and this map uses |
551 |
> |
* @throws NullPointerException if key is <tt>null</tt> and this map uses |
552 |
|
* natural order, or its comparator does not tolerate |
553 |
|
* <tt>null</tt> keys. |
554 |
|
*/ |
596 |
|
* also indicate that the map previously associated |
597 |
|
* <tt>null</tt> with the specified key. |
598 |
|
* |
599 |
< |
* @throws ClassCastException key cannot be compared with the keys |
599 |
> |
* @throws ClassCastException if key cannot be compared with the keys |
600 |
|
* currently in the map. |
601 |
< |
* @throws NullPointerException key is <tt>null</tt> and this map uses |
601 |
> |
* @throws NullPointerException if key is <tt>null</tt> and this map uses |
602 |
|
* natural order, or its comparator does not tolerate |
603 |
|
* <tt>null</tt> keys. |
604 |
|
*/ |
723 |
|
* <tt>null</tt> if there is no such Entry. |
724 |
|
* @throws ClassCastException if key cannot be compared with the |
725 |
|
* keys currently in the map. |
726 |
< |
* @throws NullPointerException key is <tt>null</tt> and this map uses |
726 |
> |
* @throws NullPointerException if key is <tt>null</tt> and this map uses |
727 |
|
* natural order, or its comparator does not tolerate |
728 |
|
* <tt>null</tt> keys. |
729 |
|
*/ |
742 |
|
* if there is no such key. |
743 |
|
* @throws ClassCastException if key cannot be compared with the keys |
744 |
|
* currently in the map. |
745 |
< |
* @throws NullPointerException key is <tt>null</tt> and this map uses |
745 |
> |
* @throws NullPointerException if key is <tt>null</tt> and this map uses |
746 |
|
* natural order, or its comparator does not tolerate |
747 |
|
* <tt>null</tt> keys. |
748 |
|
*/ |
763 |
|
* if there is no such Entry. |
764 |
|
* @throws ClassCastException if key cannot be compared with the keys |
765 |
|
* currently in the map. |
766 |
< |
* @throws NullPointerException key is <tt>null</tt> and this map uses |
766 |
> |
* @throws NullPointerException if key is <tt>null</tt> and this map uses |
767 |
|
* natural order, or its comparator does not tolerate |
768 |
|
* <tt>null</tt> keys. |
769 |
|
*/ |
782 |
|
* such key. |
783 |
|
* @throws ClassCastException if key cannot be compared with the keys |
784 |
|
* currently in the map. |
785 |
< |
* @throws NullPointerException key is <tt>null</tt> and this map uses |
785 |
> |
* @throws NullPointerException if key is <tt>null</tt> and this map uses |
786 |
|
* natural order, or its comparator does not tolerate |
787 |
|
* <tt>null</tt> keys. |
788 |
|
*/ |
801 |
|
* <tt>null</tt> if there is no such Entry. |
802 |
|
* @throws ClassCastException if key cannot be compared with the keys |
803 |
|
* currently in the map. |
804 |
< |
* @throws NullPointerException key is <tt>null</tt> and this map uses |
804 |
> |
* @throws NullPointerException if key is <tt>null</tt> and this map uses |
805 |
|
* natural order, or its comparator does not tolerate |
806 |
|
* <tt>null</tt> keys. |
807 |
|
*/ |
819 |
|
* <tt>null</tt> if there is no such key. |
820 |
|
* @throws ClassCastException if key cannot be compared with the keys |
821 |
|
* currently in the map. |
822 |
< |
* @throws NullPointerException key is <tt>null</tt> and this map uses |
822 |
> |
* @throws NullPointerException if key is <tt>null</tt> and this map uses |
823 |
|
* natural order, or its comparator does not tolerate |
824 |
|
* <tt>null</tt> keys. |
825 |
|
*/ |
838 |
|
* key, or <tt>null</tt> if there is no such Entry. |
839 |
|
* @throws ClassCastException if key cannot be compared with the keys |
840 |
|
* currently in the map. |
841 |
< |
* @throws NullPointerException key is <tt>null</tt> and this map uses |
841 |
> |
* @throws NullPointerException if key is <tt>null</tt> and this map uses |
842 |
|
* natural order, or its comparator does not tolerate |
843 |
|
* <tt>null</tt> keys. |
844 |
|
*/ |
856 |
|
* key, or <tt>null</tt> if there is no such key. |
857 |
|
* @throws ClassCastException if key cannot be compared with the keys |
858 |
|
* currently in the map. |
859 |
< |
* @throws NullPointerException key is <tt>null</tt> and this map uses |
859 |
> |
* @throws NullPointerException if key is <tt>null</tt> and this map uses |
860 |
|
* natural order, or its comparator does not tolerate |
861 |
|
* <tt>null</tt> keys. |
862 |
|
*/ |
1026 |
|
|
1027 |
|
/** |
1028 |
|
* Returns a set view of the mappings contained in this map. The |
1029 |
< |
* set's iterator returns the mappings in descrending key order. |
1029 |
> |
* set's iterator returns the mappings in descending key order. |
1030 |
|
* Each element in the returned set is a <tt>Map.Entry</tt>. The |
1031 |
|
* set is backed by this map, so changes to this map are reflected |
1032 |
|
* in the set, and vice-versa. The set supports element removal, |