298 |
* |
* |
299 |
* @param index The index of the element to retrieve. |
* @param index The index of the element to retrieve. |
300 |
* @return the object at the specified index. |
* @return the object at the specified index. |
301 |
* @throws IndexOutofBoundsException as any given index |
* @throws IndexOutOfBoundsException as any given index |
302 |
* is outside the bounds of an empty array. |
* is outside the bounds of an empty array. |
303 |
*/ |
*/ |
304 |
public Object get(int index) |
public Object get(int index) |
2137 |
* within the underlying collection, first obtaining |
* within the underlying collection, first obtaining |
2138 |
* a lock on the mutex. |
* a lock on the mutex. |
2139 |
* |
* |
2140 |
* @param cl the collection to test for. |
* @param c1 the collection to test for. |
2141 |
* @return <code>true</code> if for every element o in c, contains(o) |
* @return <code>true</code> if for every element o in c, contains(o) |
2142 |
* would return <code>true</code>. |
* would return <code>true</code>. |
2143 |
* @throws ClassCastException if the type of any element in cl is not a valid |
* @throws ClassCastException if the type of any element in cl is not a valid |
3396 |
* operation). If the map already contains a key, its value is replaced. |
* operation). If the map already contains a key, its value is replaced. |
3397 |
* A lock is obtained on the mutex before the operation proceeds. |
* A lock is obtained on the mutex before the operation proceeds. |
3398 |
* |
* |
3399 |
* @param m the mapping to load into this map |
* @param map the mapping to load into this map |
3400 |
* @throws UnsupportedOperationException if the operation is not supported |
* @throws UnsupportedOperationException if the operation is not supported |
3401 |
* @throws ClassCastException if a key or value is of the wrong type |
* @throws ClassCastException if a key or value is of the wrong type |
3402 |
* @throws IllegalArgumentException if something about a key or value |
* @throws IllegalArgumentException if something about a key or value |
3420 |
* <code>containsKey()</code> check is required to avoid this ambiguity. |
* <code>containsKey()</code> check is required to avoid this ambiguity. |
3421 |
* Before the mapping is removed, a lock is obtained on the mutex. |
* Before the mapping is removed, a lock is obtained on the mutex. |
3422 |
* |
* |
3423 |
* @param key the key to remove |
* @param o the key to remove |
3424 |
* @return the value the key mapped to, or null if not present |
* @return the value the key mapped to, or null if not present |
3425 |
* @throws UnsupportedOperationException if deletion is unsupported |
* @throws UnsupportedOperationException if deletion is unsupported |
3426 |
* @throws NullPointerException if the key is null and this map doesn't |
* @throws NullPointerException if the key is null and this map doesn't |
4109 |
* Test whether the underlying collection contains every element in a given |
* Test whether the underlying collection contains every element in a given |
4110 |
* collection. |
* collection. |
4111 |
* |
* |
4112 |
* @param c the collection to test for. |
* @param c1 the collection to test for. |
4113 |
* @return <code>true</code> if for every element o in c, contains(o) would |
* @return <code>true</code> if for every element o in c, contains(o) would |
4114 |
* return <code>true</code>. |
* return <code>true</code>. |
4115 |
* @throws ClassCastException if the type of any element in c is not a valid |
* @throws ClassCastException if the type of any element in c is not a valid |