1892 |
} |
} |
1893 |
|
|
1894 |
/** |
/** |
1895 |
* The implementation of {@link #singletonMap(Object)}. This class name |
* The implementation of {@link #singletonMap(Object, Object)}. This class |
1896 |
* is required for compatibility with Sun's JDK serializability. |
* name is required for compatibility with Sun's JDK serializability. |
1897 |
* |
* |
1898 |
* @author Eric Blake (ebb9@email.byu.edu) |
* @author Eric Blake (ebb9@email.byu.edu) |
1899 |
*/ |
*/ |
2683 |
} |
} |
2684 |
|
|
2685 |
/** |
/** |
2686 |
* Add an element to the end of the underlying list (optional operation). |
* Add the contents of a collection to the underlying list at the given |
2687 |
* If the list imposes restraints on what can be inserted, such as no null |
* index (optional operation). If the list imposes restraints on what |
2688 |
* elements, this should be documented. A lock is obtained on the mutex before |
* can be inserted, such as no null elements, this should be documented. |
2689 |
* any of the elements are added. |
* A lock is obtained on the mutex before any of the elements are added. |
2690 |
* |
* |
2691 |
* @param o the object to add |
* @param index the index at which to insert |
2692 |
|
* @param c the collection to add |
2693 |
* @return <code>true</code>, as defined by Collection for a modified list |
* @return <code>true</code>, as defined by Collection for a modified list |
2694 |
* @throws UnsupportedOperationException if this list does not support the |
* @throws UnsupportedOperationException if this list does not support the |
2695 |
* add operation |
* add operation |
4030 |
/** |
/** |
4031 |
* Called only by trusted code to specify the mutex as well as the set. |
* Called only by trusted code to specify the mutex as well as the set. |
4032 |
* @param sync the mutex |
* @param sync the mutex |
4033 |
* @param l the list |
* @param ss the set |
4034 |
*/ |
*/ |
4035 |
SynchronizedSortedSet(Object sync, SortedSet<T> ss) |
SynchronizedSortedSet(Object sync, SortedSet<T> ss) |
4036 |
{ |
{ |