What is the translation of " 方法 引用 " in English?

method references

Examples of using 方法 引用 in Chinese and their translations into English

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
方法引用有助于通过名称来指向方法。
Method references help to point to methods by their names.
Groovy3.0将增加对Java8lambda语法和方法引用的支持。
Groovy 3.0 will addsupport for Java 8 lambda syntax and method references.
这又称为方法引用
It is also referred to as Method Invocation.
方法引用被认为是跟lambda表达式一样的,可用于功能接口所适用的地方。
Method references are treated the same way as lambda expressions and can be used wherever a functional interface is accepted.
方法引用让你可以重复使用现有的方法定义,并像Lambda一样传递它们。
Method references let you reuse existing method definitions and pass them just like lambdas.
方法引用,为已命名方法提供了易于阅读的lambda表达式。
Method references provide easy-to-read lambda expressions for methods that already have a name.
方法引用可以重复使用现有的方法,并可以像Lambda一样传递他们。
Method references let you reuse existing method definitions and pass them just like lambdas.
它充分描述了JavaSE8中添加的新功能,包括lambda表达式,方法引用,缺省方法,类型注释和重复注释。
It fully describes all new features of Java SE 8,including lambda expressions, method references, default methods, type annotations, and repeating annotations.
你可以看到C++里面的双冒号、范围解析操作符现在在Java8中用来表示方法引用
You can see that the double colon and range resolution operators in C++ arenow used in Java 8 to represent method references.
由短而简单的代码示例,带你了解如何使用默认接口方法,lambda表达式,方法引用和可重复注解。
Backed by short and simple code samples you will learn how to use default interface methods,lambda expressions, method references and repeatable annotations.
这个特殊的示例还可以通过使用方法引用将包含类和静态方法分开的方式进一步减少代码量。
This particular examplecan be further shortened using a method reference to separate the containing class and a static method..
方法参数上的out方法参数关键字使方法引用传递到方法的同一个变量。
Out The out method parameter keyword on a method parameter causes a method to refer to the same variable that was passed into the method.
F是有效的方法引用,因为MyClass.
F is a valid method reference, since MyClass.
F是一个有效的方法引用,因为MyClass.
F is a valid method reference, since MyClass.
传统的医学伦理方法引用了以下四个基本原则.
Traditional approaches to medical ethics quote the four fundamental principles described below.
上面的代码可通过方法引用(methodreferences)做进一步精简:.
The code above can be further reduced by using method references:.
Out::println是一个方法引用,它等价于lambda表达式x-gt;System.out.println(x)。
Out::println is a method reference that is equivalent to the lambda expression x-gt; System. out. println(x).
列表循环的最后一个例子展示了如何在Java8中使用方法引用(methodreference)。
The last example of thelist loop shows how to use method reference in Java 8.
Methodreferences(方法引用)为已经有名称的方法提供了易于阅读的lambda表达式。
Method references provide easy-to-read lambda expressions for methods that already have a name.
本例中的Lambda表达式可以换为方法引用,因为这仅是一个参数相同的简单方法调用。
The lambda expression in this example can be replaced by a method reference, because it is only a simple method call with the same parameters.
或者,你可以通过将方法引用存储在具有显式指定类型的变量中来提供必要的上下文:.
Alternatively, you can provide the necessary context by storing the method reference in a variable with an explicitly specified type:.
Java8最主要的新特性就是Lambda表达式以及与此相关的特性,如流(streams)、方法引用(methodreferences)、功能接口(functionalinterfaces)。
The major new features in Java 8 center on lambda expressions,along with related features such as streams, method references, and functional interfaces.
Lambda表达式内可以使用方法引用,仅当该方法不修改lambda表达式提供的参数。
LambdaMethod references can be used within an expression only if the method does not modify the parameters provided by the lambda expression.
有两种方法引用vector中储存的值。
There are two ways to reference a value stored in a vector.
构造器引用与方法引用类似,只不过方法名为new。
Constructor references are just like method references, except that the name of the method is new.
在前2种情况中,方法引用等价于提供方法参数的lambda表达式。
In the first two cases, the method reference isequivalent to a lambda expression that supplies the parameters of the method.
Out::println属于一个方法引用(methodreference),相当于lambda表达式x-gt;System.out.println(x).
Out::println is a method reference that is equivalent to the lambda expression x-gt; System. out. println(x).
Results: 27, Time: 0.0173

Word-for-word translation

Top dictionary queries

Chinese - English