1731 |
} |
} |
1732 |
|
|
1733 |
/** |
/** |
1734 |
* The implementation of {@link #singletonMap(Object)}. This class name |
* The implementation of {@link #singletonMap(Object, Object)}. This class |
1735 |
* is required for compatibility with Sun's JDK serializability. |
* name is required for compatibility with Sun's JDK serializability. |
1736 |
* |
* |
1737 |
* @author Eric Blake (ebb9@email.byu.edu) |
* @author Eric Blake (ebb9@email.byu.edu) |
1738 |
*/ |
*/ |
2518 |
} |
} |
2519 |
|
|
2520 |
/** |
/** |
2521 |
* 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 |
2522 |
* If the list imposes restraints on what can be inserted, such as no null |
* index (optional operation). If the list imposes restraints on what |
2523 |
* 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. |
2524 |
* any of the elements are added. |
* A lock is obtained on the mutex before any of the elements are added. |
2525 |
* |
* |
2526 |
* @param o the object to add |
* @param index the index at which to insert |
2527 |
|
* @param c the collection to add |
2528 |
* @return <code>true</code>, as defined by Collection for a modified list |
* @return <code>true</code>, as defined by Collection for a modified list |
2529 |
* @throws UnsupportedOperationException if this list does not support the |
* @throws UnsupportedOperationException if this list does not support the |
2530 |
* add operation |
* add operation |
3859 |
/** |
/** |
3860 |
* 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. |
3861 |
* @param sync the mutex |
* @param sync the mutex |
3862 |
* @param l the list |
* @param ss the set |
3863 |
*/ |
*/ |
3864 |
SynchronizedSortedSet(Object sync, SortedSet ss) |
SynchronizedSortedSet(Object sync, SortedSet ss) |
3865 |
{ |
{ |