Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
7292e9c5
D
dragonwell8_jdk
项目概览
openanolis
/
dragonwell8_jdk
通知
4
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_jdk
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
7292e9c5
编写于
4月 21, 2011
作者:
D
dl
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
7038501: Clarify meaning of "(optional)" in javadoc
Reviewed-by: chegar
上级
81a5a584
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
36 addition
and
18 deletion
+36
-18
src/share/classes/java/util/concurrent/BlockingDeque.java
src/share/classes/java/util/concurrent/BlockingDeque.java
+16
-8
src/share/classes/java/util/concurrent/BlockingQueue.java
src/share/classes/java/util/concurrent/BlockingQueue.java
+8
-4
src/share/classes/java/util/concurrent/ConcurrentMap.java
src/share/classes/java/util/concurrent/ConcurrentMap.java
+4
-2
src/share/classes/java/util/concurrent/CopyOnWriteArrayList.java
...re/classes/java/util/concurrent/CopyOnWriteArrayList.java
+8
-4
未找到文件。
src/share/classes/java/util/concurrent/BlockingDeque.java
浏览文件 @
7292e9c5
...
@@ -400,8 +400,10 @@ public interface BlockingDeque<E> extends BlockingQueue<E>, Deque<E> {
...
@@ -400,8 +400,10 @@ public interface BlockingDeque<E> extends BlockingQueue<E>, Deque<E> {
* @param o element to be removed from this deque, if present
* @param o element to be removed from this deque, if present
* @return <tt>true</tt> if an element was removed as a result of this call
* @return <tt>true</tt> if an element was removed as a result of this call
* @throws ClassCastException if the class of the specified element
* @throws ClassCastException if the class of the specified element
* is incompatible with this deque (optional)
* is incompatible with this deque
* @throws NullPointerException if the specified element is null (optional)
* (<a href="../Collection.html#optional-restrictions">optional</a>)
* @throws NullPointerException if the specified element is null
* (<a href="../Collection.html#optional-restrictions">optional</a>)
*/
*/
boolean
removeFirstOccurrence
(
Object
o
);
boolean
removeFirstOccurrence
(
Object
o
);
...
@@ -416,8 +418,10 @@ public interface BlockingDeque<E> extends BlockingQueue<E>, Deque<E> {
...
@@ -416,8 +418,10 @@ public interface BlockingDeque<E> extends BlockingQueue<E>, Deque<E> {
* @param o element to be removed from this deque, if present
* @param o element to be removed from this deque, if present
* @return <tt>true</tt> if an element was removed as a result of this call
* @return <tt>true</tt> if an element was removed as a result of this call
* @throws ClassCastException if the class of the specified element
* @throws ClassCastException if the class of the specified element
* is incompatible with this deque (optional)
* is incompatible with this deque
* @throws NullPointerException if the specified element is null (optional)
* (<a href="../Collection.html#optional-restrictions">optional</a>)
* @throws NullPointerException if the specified element is null
* (<a href="../Collection.html#optional-restrictions">optional</a>)
*/
*/
boolean
removeLastOccurrence
(
Object
o
);
boolean
removeLastOccurrence
(
Object
o
);
...
@@ -591,8 +595,10 @@ public interface BlockingDeque<E> extends BlockingQueue<E>, Deque<E> {
...
@@ -591,8 +595,10 @@ public interface BlockingDeque<E> extends BlockingQueue<E>, Deque<E> {
* @param o element to be removed from this deque, if present
* @param o element to be removed from this deque, if present
* @return <tt>true</tt> if this deque changed as a result of the call
* @return <tt>true</tt> if this deque changed as a result of the call
* @throws ClassCastException if the class of the specified element
* @throws ClassCastException if the class of the specified element
* is incompatible with this deque (optional)
* is incompatible with this deque
* @throws NullPointerException if the specified element is null (optional)
* (<a href="../Collection.html#optional-restrictions">optional</a>)
* @throws NullPointerException if the specified element is null
* (<a href="../Collection.html#optional-restrictions">optional</a>)
*/
*/
boolean
remove
(
Object
o
);
boolean
remove
(
Object
o
);
...
@@ -604,8 +610,10 @@ public interface BlockingDeque<E> extends BlockingQueue<E>, Deque<E> {
...
@@ -604,8 +610,10 @@ public interface BlockingDeque<E> extends BlockingQueue<E>, Deque<E> {
* @param o object to be checked for containment in this deque
* @param o object to be checked for containment in this deque
* @return <tt>true</tt> if this deque contains the specified element
* @return <tt>true</tt> if this deque contains the specified element
* @throws ClassCastException if the class of the specified element
* @throws ClassCastException if the class of the specified element
* is incompatible with this deque (optional)
* is incompatible with this deque
* @throws NullPointerException if the specified element is null (optional)
* (<a href="../Collection.html#optional-restrictions">optional</a>)
* @throws NullPointerException if the specified element is null
* (<a href="../Collection.html#optional-restrictions">optional</a>)
*/
*/
public
boolean
contains
(
Object
o
);
public
boolean
contains
(
Object
o
);
...
...
src/share/classes/java/util/concurrent/BlockingQueue.java
浏览文件 @
7292e9c5
...
@@ -303,8 +303,10 @@ public interface BlockingQueue<E> extends Queue<E> {
...
@@ -303,8 +303,10 @@ public interface BlockingQueue<E> extends Queue<E> {
* @param o element to be removed from this queue, if present
* @param o element to be removed from this queue, if present
* @return <tt>true</tt> if this queue changed as a result of the call
* @return <tt>true</tt> if this queue changed as a result of the call
* @throws ClassCastException if the class of the specified element
* @throws ClassCastException if the class of the specified element
* is incompatible with this queue (optional)
* is incompatible with this queue
* @throws NullPointerException if the specified element is null (optional)
* (<a href="../Collection.html#optional-restrictions">optional</a>)
* @throws NullPointerException if the specified element is null
* (<a href="../Collection.html#optional-restrictions">optional</a>)
*/
*/
boolean
remove
(
Object
o
);
boolean
remove
(
Object
o
);
...
@@ -316,8 +318,10 @@ public interface BlockingQueue<E> extends Queue<E> {
...
@@ -316,8 +318,10 @@ public interface BlockingQueue<E> extends Queue<E> {
* @param o object to be checked for containment in this queue
* @param o object to be checked for containment in this queue
* @return <tt>true</tt> if this queue contains the specified element
* @return <tt>true</tt> if this queue contains the specified element
* @throws ClassCastException if the class of the specified element
* @throws ClassCastException if the class of the specified element
* is incompatible with this queue (optional)
* is incompatible with this queue
* @throws NullPointerException if the specified element is null (optional)
* (<a href="../Collection.html#optional-restrictions">optional</a>)
* @throws NullPointerException if the specified element is null
* (<a href="../Collection.html#optional-restrictions">optional</a>)
*/
*/
public
boolean
contains
(
Object
o
);
public
boolean
contains
(
Object
o
);
...
...
src/share/classes/java/util/concurrent/ConcurrentMap.java
浏览文件 @
7292e9c5
...
@@ -103,9 +103,11 @@ public interface ConcurrentMap<K, V> extends Map<K, V> {
...
@@ -103,9 +103,11 @@ public interface ConcurrentMap<K, V> extends Map<K, V> {
* @throws UnsupportedOperationException if the <tt>remove</tt> operation
* @throws UnsupportedOperationException if the <tt>remove</tt> operation
* is not supported by this map
* is not supported by this map
* @throws ClassCastException if the key or value is of an inappropriate
* @throws ClassCastException if the key or value is of an inappropriate
* type for this map (optional)
* type for this map
* (<a href="../Collection.html#optional-restrictions">optional</a>)
* @throws NullPointerException if the specified key or value is null,
* @throws NullPointerException if the specified key or value is null,
* and this map does not permit null keys or values (optional)
* and this map does not permit null keys or values
* (<a href="../Collection.html#optional-restrictions">optional</a>)
*/
*/
boolean
remove
(
Object
key
,
Object
value
);
boolean
remove
(
Object
key
,
Object
value
);
...
...
src/share/classes/java/util/concurrent/CopyOnWriteArrayList.java
浏览文件 @
7292e9c5
...
@@ -631,9 +631,11 @@ public class CopyOnWriteArrayList<E>
...
@@ -631,9 +631,11 @@ public class CopyOnWriteArrayList<E>
* @param c collection containing elements to be removed from this list
* @param c collection containing elements to be removed from this list
* @return <tt>true</tt> if this list changed as a result of the call
* @return <tt>true</tt> if this list changed as a result of the call
* @throws ClassCastException if the class of an element of this list
* @throws ClassCastException if the class of an element of this list
* is incompatible with the specified collection (optional)
* is incompatible with the specified collection
* (<a href="../Collection.html#optional-restrictions">optional</a>)
* @throws NullPointerException if this list contains a null element and the
* @throws NullPointerException if this list contains a null element and the
* specified collection does not permit null elements (optional),
* specified collection does not permit null elements
* (<a href="../Collection.html#optional-restrictions">optional</a>),
* or if the specified collection is null
* or if the specified collection is null
* @see #remove(Object)
* @see #remove(Object)
*/
*/
...
@@ -671,9 +673,11 @@ public class CopyOnWriteArrayList<E>
...
@@ -671,9 +673,11 @@ public class CopyOnWriteArrayList<E>
* @param c collection containing elements to be retained in this list
* @param c collection containing elements to be retained in this list
* @return <tt>true</tt> if this list changed as a result of the call
* @return <tt>true</tt> if this list changed as a result of the call
* @throws ClassCastException if the class of an element of this list
* @throws ClassCastException if the class of an element of this list
* is incompatible with the specified collection (optional)
* is incompatible with the specified collection
* (<a href="../Collection.html#optional-restrictions">optional</a>)
* @throws NullPointerException if this list contains a null element and the
* @throws NullPointerException if this list contains a null element and the
* specified collection does not permit null elements (optional),
* specified collection does not permit null elements
* (<a href="../Collection.html#optional-restrictions">optional</a>),
* or if the specified collection is null
* or if the specified collection is null
* @see #remove(Object)
* @see #remove(Object)
*/
*/
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录