Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
c7b59248
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看板
提交
c7b59248
编写于
4月 10, 2014
作者:
C
chegar
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8039527: Broken links in ConcurrentMap javadoc
Reviewed-by: martin, alanb
上级
0e4f7706
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
32 addition
and
32 deletion
+32
-32
src/share/classes/java/util/Map.java
src/share/classes/java/util/Map.java
+32
-32
未找到文件。
src/share/classes/java/util/Map.java
浏览文件 @
c7b59248
...
...
@@ -157,10 +157,10 @@ public interface Map<K,V> {
* key
* @throws ClassCastException if the key is of an inappropriate type for
* this map
* (<a href="Collection.html#optional-restrictions">optional</a>)
* (<a href="
{@docRoot}/java/util/
Collection.html#optional-restrictions">optional</a>)
* @throws NullPointerException if the specified key is null and this map
* does not permit null keys
* (<a href="Collection.html#optional-restrictions">optional</a>)
* (<a href="
{@docRoot}/java/util/
Collection.html#optional-restrictions">optional</a>)
*/
boolean
containsKey
(
Object
key
);
...
...
@@ -177,10 +177,10 @@ public interface Map<K,V> {
* specified value
* @throws ClassCastException if the value is of an inappropriate type for
* this map
* (<a href="Collection.html#optional-restrictions">optional</a>)
* (<a href="
{@docRoot}/java/util/
Collection.html#optional-restrictions">optional</a>)
* @throws NullPointerException if the specified value is null and this
* map does not permit null values
* (<a href="Collection.html#optional-restrictions">optional</a>)
* (<a href="
{@docRoot}/java/util/
Collection.html#optional-restrictions">optional</a>)
*/
boolean
containsValue
(
Object
value
);
...
...
@@ -204,10 +204,10 @@ public interface Map<K,V> {
* {@code null} if this map contains no mapping for the key
* @throws ClassCastException if the key is of an inappropriate type for
* this map
* (<a href="Collection.html#optional-restrictions">optional</a>)
* (<a href="
{@docRoot}/java/util/
Collection.html#optional-restrictions">optional</a>)
* @throws NullPointerException if the specified key is null and this map
* does not permit null keys
* (<a href="Collection.html#optional-restrictions">optional</a>)
* (<a href="
{@docRoot}/java/util/
Collection.html#optional-restrictions">optional</a>)
*/
V
get
(
Object
key
);
...
...
@@ -264,10 +264,10 @@ public interface Map<K,V> {
* is not supported by this map
* @throws ClassCastException if the key is of an inappropriate type for
* this map
* (<a href="Collection.html#optional-restrictions">optional</a>)
* (<a href="
{@docRoot}/java/util/
Collection.html#optional-restrictions">optional</a>)
* @throws NullPointerException if the specified key is null and this
* map does not permit null keys
* (<a href="Collection.html#optional-restrictions">optional</a>)
* (<a href="
{@docRoot}/java/util/
Collection.html#optional-restrictions">optional</a>)
*/
V
remove
(
Object
key
);
...
...
@@ -577,10 +577,10 @@ public interface Map<K,V> {
* {@code defaultValue} if this map contains no mapping for the key
* @throws ClassCastException if the key is of an inappropriate type for
* this map
* (<a href="Collection.html#optional-restrictions">optional</a>)
* (<a href="
{@docRoot}/java/util/
Collection.html#optional-restrictions">optional</a>)
* @throws NullPointerException if the specified key is null and this map
* does not permit null keys
* (<a href="Collection.html#optional-restrictions">optional</a>)
* (<a href="
{@docRoot}/java/util/
Collection.html#optional-restrictions">optional</a>)
* @since 1.8
*/
default
V
getOrDefault
(
Object
key
,
V
defaultValue
)
{
...
...
@@ -659,13 +659,13 @@ public interface Map<K,V> {
* values
* @throws ClassCastException if a replacement value is of an inappropriate
* type for this map
* (<a href="Collection.html#optional-restrictions">optional</a>)
* (<a href="
{@docRoot}/java/util/
Collection.html#optional-restrictions">optional</a>)
* @throws NullPointerException if function or a replacement value is null,
* and this map does not permit null keys or values
* (<a href="Collection.html#optional-restrictions">optional</a>)
* (<a href="
{@docRoot}/java/util/
Collection.html#optional-restrictions">optional</a>)
* @throws IllegalArgumentException if some property of a replacement value
* prevents it from being stored in this map
* (<a href="Collection.html#optional-restrictions">optional</a>)
* (<a href="
{@docRoot}/java/util/
Collection.html#optional-restrictions">optional</a>)
* @throws ConcurrentModificationException if an entry is found to be
* removed during iteration
* @since 1.8
...
...
@@ -726,16 +726,16 @@ public interface Map<K,V> {
* if the implementation supports null values.)
* @throws UnsupportedOperationException if the {@code put} operation
* is not supported by this map
* (<a href="Collection.html#optional-restrictions">optional</a>)
* (<a href="
{@docRoot}/java/util/
Collection.html#optional-restrictions">optional</a>)
* @throws ClassCastException if the key or value is of an inappropriate
* type for this map
* (<a href="Collection.html#optional-restrictions">optional</a>)
* (<a href="
{@docRoot}/java/util/
Collection.html#optional-restrictions">optional</a>)
* @throws NullPointerException if the specified key or value is null,
* and this map does not permit null keys or values
* (<a href="Collection.html#optional-restrictions">optional</a>)
* (<a href="
{@docRoot}/java/util/
Collection.html#optional-restrictions">optional</a>)
* @throws IllegalArgumentException if some property of the specified key
* or value prevents it from being stored in this map
* (<a href="Collection.html#optional-restrictions">optional</a>)
* (<a href="
{@docRoot}/java/util/
Collection.html#optional-restrictions">optional</a>)
* @since 1.8
*/
default
V
putIfAbsent
(
K
key
,
V
value
)
{
...
...
@@ -772,13 +772,13 @@ public interface Map<K,V> {
* @return {@code true} if the value was removed
* @throws UnsupportedOperationException if the {@code remove} operation
* is not supported by this map
* (<a href="Collection.html#optional-restrictions">optional</a>)
* (<a href="
{@docRoot}/java/util/
Collection.html#optional-restrictions">optional</a>)
* @throws ClassCastException if the key or value is of an inappropriate
* type for this map
* (<a href="Collection.html#optional-restrictions">optional</a>)
* (<a href="
{@docRoot}/java/util/
Collection.html#optional-restrictions">optional</a>)
* @throws NullPointerException if the specified key or value is null,
* and this map does not permit null keys or values
* (<a href="Collection.html#optional-restrictions">optional</a>)
* (<a href="
{@docRoot}/java/util/
Collection.html#optional-restrictions">optional</a>)
* @since 1.8
*/
default
boolean
remove
(
Object
key
,
Object
value
)
{
...
...
@@ -821,14 +821,14 @@ public interface Map<K,V> {
* @return {@code true} if the value was replaced
* @throws UnsupportedOperationException if the {@code put} operation
* is not supported by this map
* (<a href="Collection.html#optional-restrictions">optional</a>)
* (<a href="
{@docRoot}/java/util/
Collection.html#optional-restrictions">optional</a>)
* @throws ClassCastException if the class of a specified key or value
* prevents it from being stored in this map
* @throws NullPointerException if a specified key or newValue is null,
* and this map does not permit null keys or values
* @throws NullPointerException if oldValue is null and this map does not
* permit null values
* (<a href="Collection.html#optional-restrictions">optional</a>)
* (<a href="
{@docRoot}/java/util/
Collection.html#optional-restrictions">optional</a>)
* @throws IllegalArgumentException if some property of a specified key
* or value prevents it from being stored in this map
* @since 1.8
...
...
@@ -871,10 +871,10 @@ public interface Map<K,V> {
* if the implementation supports null values.)
* @throws UnsupportedOperationException if the {@code put} operation
* is not supported by this map
* (<a href="Collection.html#optional-restrictions">optional</a>)
* (<a href="
{@docRoot}/java/util/
Collection.html#optional-restrictions">optional</a>)
* @throws ClassCastException if the class of the specified key or value
* prevents it from being stored in this map
* (<a href="Collection.html#optional-restrictions">optional</a>)
* (<a href="
{@docRoot}/java/util/
Collection.html#optional-restrictions">optional</a>)
* @throws NullPointerException if the specified key or value is null,
* and this map does not permit null keys or values
* @throws IllegalArgumentException if some property of the specified key
...
...
@@ -942,10 +942,10 @@ public interface Map<K,V> {
* is null
* @throws UnsupportedOperationException if the {@code put} operation
* is not supported by this map
* (<a href="Collection.html#optional-restrictions">optional</a>)
* (<a href="
{@docRoot}/java/util/
Collection.html#optional-restrictions">optional</a>)
* @throws ClassCastException if the class of the specified key or value
* prevents it from being stored in this map
* (<a href="Collection.html#optional-restrictions">optional</a>)
* (<a href="
{@docRoot}/java/util/
Collection.html#optional-restrictions">optional</a>)
* @since 1.8
*/
default
V
computeIfAbsent
(
K
key
,
...
...
@@ -1003,10 +1003,10 @@ public interface Map<K,V> {
* remappingFunction is null
* @throws UnsupportedOperationException if the {@code put} operation
* is not supported by this map
* (<a href="Collection.html#optional-restrictions">optional</a>)
* (<a href="
{@docRoot}/java/util/
Collection.html#optional-restrictions">optional</a>)
* @throws ClassCastException if the class of the specified key or value
* prevents it from being stored in this map
* (<a href="Collection.html#optional-restrictions">optional</a>)
* (<a href="
{@docRoot}/java/util/
Collection.html#optional-restrictions">optional</a>)
* @since 1.8
*/
default
V
computeIfPresent
(
K
key
,
...
...
@@ -1079,10 +1079,10 @@ public interface Map<K,V> {
* remappingFunction is null
* @throws UnsupportedOperationException if the {@code put} operation
* is not supported by this map
* (<a href="Collection.html#optional-restrictions">optional</a>)
* (<a href="
{@docRoot}/java/util/
Collection.html#optional-restrictions">optional</a>)
* @throws ClassCastException if the class of the specified key or value
* prevents it from being stored in this map
* (<a href="Collection.html#optional-restrictions">optional</a>)
* (<a href="
{@docRoot}/java/util/
Collection.html#optional-restrictions">optional</a>)
* @since 1.8
*/
default
V
compute
(
K
key
,
...
...
@@ -1157,10 +1157,10 @@ public interface Map<K,V> {
* value is associated with the key
* @throws UnsupportedOperationException if the {@code put} operation
* is not supported by this map
* (<a href="Collection.html#optional-restrictions">optional</a>)
* (<a href="
{@docRoot}/java/util/
Collection.html#optional-restrictions">optional</a>)
* @throws ClassCastException if the class of the specified key or value
* prevents it from being stored in this map
* (<a href="Collection.html#optional-restrictions">optional</a>)
* (<a href="
{@docRoot}/java/util/
Collection.html#optional-restrictions">optional</a>)
* @throws NullPointerException if the specified key is null and this map
* does not support null keys or the value or remappingFunction is
* null
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录