Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
5c39a151
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看板
提交
5c39a151
编写于
2月 26, 2013
作者:
D
darcy
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8009102: Several docs warnings in Project Lambda APIs
Reviewed-by: mduigou
上级
a70daa3d
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
5 addition
and
18 deletion
+5
-18
src/share/classes/java/lang/invoke/LambdaMetafactory.java
src/share/classes/java/lang/invoke/LambdaMetafactory.java
+3
-16
src/share/classes/java/util/function/BinaryOperator.java
src/share/classes/java/util/function/BinaryOperator.java
+1
-1
src/share/classes/java/util/function/ToDoubleBiFunction.java
src/share/classes/java/util/function/ToDoubleBiFunction.java
+1
-1
未找到文件。
src/share/classes/java/lang/invoke/LambdaMetafactory.java
浏览文件 @
5c39a151
/*
* Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012,
2013,
Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -220,24 +220,11 @@ public class LambdaMetafactory {
* of the caller.
* @param invokedName Stacked automatically by VM; the name of the invoked method as it appears at the call site.
* Currently unused.
* @param invokedType Stacked automatically by VM; the signature of the invoked method, which includes the
* @param invokedType Stacked automatically by VM; the signature of the invoked method, which includes the
fu
* expected static type of the returned lambda object, and the static types of the captured
* arguments for the lambda. In the event that the implementation method is an instance method,
* the first argument in the invocation signature will correspond to the receiver.
* @param samMethod The primary method in the functional interface to which the lambda or method reference is
* being converted, represented as a method handle.
* @param implMethod The implementation method which should be called (with suitable adaptation of argument
* types, return types, and adjustment for captured arguments) when methods of the resulting
* functional interface instance are invoked.
* @param instantiatedMethodType The signature of the primary functional interface method after type variables
* are substituted with their instantiation from the capture site
* @param flags A bitmask containing flags that may influence the translation of this lambda expression. Defined
* fields include FLAG_SERIALIZABLE and FLAG_MARKERS.
* @param markerInterfaceCount If the FLAG_MARKERS flag is set, this is a count of the number of additional
* marker interfaces
* @param markerInterfaces If the FLAG_MARKERS flag is set, this consists of Class objects identifying additional
* marker interfaces which the lambda object should implement, whose count equals
* markerInterfaceCount
* @param args argument to pass, flags, marker interface count, and marker interfaces as described above
* @return a CallSite, which, when invoked, will return an instance of the functional interface
* @throws ReflectiveOperationException
* @throws LambdaConversionException If any of the meta-factory protocol invariants are violated
...
...
src/share/classes/java/util/function/BinaryOperator.java
浏览文件 @
5c39a151
...
...
@@ -30,7 +30,7 @@ package java.util.function;
*
* @param <T> the type of operands to {@code apply} and of the result
*
* @see BiFunction
.
* @see BiFunction
* @since 1.8
*/
@FunctionalInterface
...
...
src/share/classes/java/util/function/ToDoubleBiFunction.java
浏览文件 @
5c39a151
...
...
@@ -33,7 +33,7 @@ package java.util.function;
* @param <U> the type of the second argument to the {@code applyAsDouble}
* operation.
*
* @see BiFunction
.
* @see BiFunction
* @since 1.8
*/
@FunctionalInterface
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录