传递给该参数的任何函数都必须满足这个签名,否则将得到一个编译时错误。
Any function passed in to this parameter must satisfy this signature, or you will get a compiler error.
另一个示例:用户标识作为方法签名中定义的参数进行传递。
Another example: the user identity is passed as a parameter defined in the method signature.
请注意签名作为第一个参数如何传递到方法调用。
Note how the signature is passed as the first argument to the method call.
在许多情况下,更改方法签名以使合作者成为参数将会在方法的原始调用者内部产生混淆的、未经试验的代码混乱。
In many cases, changing the method signature so the collaborator becomes a parameter will result in a confusing, untested snarl of code inside the method's original callers.
签名的第一部分(位于尖括号 ‘<...>’ 内)就是该类的类型参数定义清单。
The first part of the signature (within the angle brackets '<...>') is just the list of type parameter definitions for the class.
这样,当转换执行的时候,将在源代码中为选定的参数生成带有常量修饰符的函数签名。
This will generate a function signature in the source code with the const qualifier for the selected parameter, once the transformation is executed.
签名包含了类型名字,参数列表及其类型,以及方法的返回值。
The signature includes the type name, the list of parameters with types, and the method's return value.
从给定规则项目提取的一个规则集的签名,由该规则项目和它引用的所有规则项目的规则集参数的传递闭包决定。
The signature of a ruleset extracted from a given rule project is determined by the transitive closure of the ruleset parameters of that rule project and all the rule projects it referencies.
清单中的各访问器方法将签名字符串作为参数。
Each of the visitor methods shown takes a signature string as a parameter.
在方法调用期间,签名声明了被传递的参数。
A signature declares parameters passed during a method call.
签名定义了泛型实际使用的参数类型,所以它提供了处理类型替换时需要的信息。
A signature defines the actual parameter types used with a generic type, so it provides the information I'll need to process type substitutions.
就泛型方法来说,如果一个类型参数在方法签名中只出现一次,它很有可能是一个通配符而不是一个命名的类型参数。
In the case of generic methods, if a type parameter appears only once in the method signature, then it probably should be a wildcard rather than a named type parameter.
占位符类用于在已映射方法的签名中支持OUT和INOUT参数。
Holder classes are used to support the OUT and INOUT parameters in mapped method signatures.
所有的REST查询必须通过签名令牌签名的方式进行认证,该过程通过对按小写的字母顺序排序的查询参数使用私钥进行签名。
All REST queries must be authenticated by signing the query parameters sorted in lower-case, alphabetical order using the private credential as the signing token.
虽然 instanceof功能提供了一种检查类型的好方法,但您还可以通过在参数列表中使用类型提示,来将对象类型检查滚动到方法签名自身中。
The instanceof function provides a good way of checking type, but you can also roll object type checking into the method signature itself by using type hints in the argument list.
增加的构造函数代码使用AspectWerkz 2.0定义的一个签名来访问上下文信息,这些信息包括为方面定义的所有参数。
The added constructor code USES a signature defined by AspectWerkz 2.0 to get access to context information, which includes any parameter definitions for the aspect.
在围绕g _ range参数所定义的全部可能范围构建签名时,check_dynamics函数将递归调用自身。
The check_dynamics function recursively calls itself while building signatures encompassing the full range of possibilities defined by the g_range parameter.
上下文并不总是作为dojo函数签名中的相同参数传递的。
Context is not always passed as the same argument in a Dojo functions signature.
当调用sign方法时,如果不传递任何参数的话,生成的就是封外签名。
The enveloping signature is created when the sign method is called without any arguments.
它是SimpleRDB的通用模型的第一个类实体,但是在UML 2.0中没有它的对等体。这就是关联的签名没有与uml元素相关的形式参数的原因。
It is a first class entity in the meta-model of SimpleRDB, but it has no equivalent in UML 2.0. That is why the signature of the relation has no formal parameter that relates a UML element.
有两个参数用作签名算法的输入
此方法签名包含单个松散类型化的DataObject参数,名为user,由开发人员确定运行时输入DataObject将包含哪个功能。
The method signature has a single loosely typed DataObject argument named user, and is up to the developer to know which features the input DataObject will contain at runtime.
可以针对任何用途配置这些mock,从方法签名中的简单哑参数到检验一系列方法调用的多调用测试。
These mocks can be configured for any purpose, ranging from simple dummy arguments for filling out a method signature to multi-invocation spies that verify a long sequence of method calls.
它定义了一组方法名称和其参数签名,但是没有实现。
It defines a set of method names and their argument signatures, but no implementations. The invoice example might look like Listing 1.
修改HelloApiAPI类以向 getMsg方法签名中添加参数和返回值。
Modify the HelloApi API class to add a parameter and a return value to the getMsg method signature. The HelloApi class is shown below.
如果仔细看一下该方法的签名,将会注意到所传递的参数是WorkingEnvironmentCallback接口的实例。
If you take a closer look at this method's signature, you'll notice that the argument that is passed in is an instance of the WorkingEnvironmentCallback interface.
调用带有XPath参数的sign方法,并且数字签名放置在文档中,则生成封内签名。
Calling the sign method with an XPath argument where the digital signature is to be placed in the document helps create an enveloped signature.
服务设计者必须根据操作签名中的请求和响应消息参数来决定服务契约的粒度。
A service designer must decide on the granularity of service contracts in terms of operation signatures for request and response message parameters.
由于类并非参数化类型,所以未为该类本身的二进制类表示添加任何签名。
Because the class is not a parameterized type, no signature is added to the binary class representation for the class itself.
由于清单2中的类为参数化类型,所以类签名需要以二进制类形式表示。
Because the Listing 2 class is a parameterized type, the class signature needs to be present in the binary class representation.
应用推荐