personName is defined as a String parameter.
将个人姓名定义为字符串参数。
The string parameter to the Connector.open() method is a valid URL.
open()方法的字符串(string)参数是一个有效的URL。
Declares one operation: snoopy, which takes a single string parameter.
声明一个操作:snoopy,它取得一个字符串参数。
The method takes a string parameter, enclosed in quotes, and a code block.
该方法具有一个使用引号括起来的字符串参数和一个代码块。
Notice that the time stamp isn't put in lowercase but the String parameter is.
注意,时间戳并未使用小写形式,而String参数变为了小写形式。
The specified command requires a character-string parameter. Please provide one.
指定的命令需要一个字符串参数。请提供此参数。
The data is represented as a string parameter, since XML can be represented as a string.
由于XML可以表示为字符串,所以将数据表示为字符串参数。
Modify the getMsg controller action to take a string parameter and return a string value.
修改getMsg控制器动作以获取字符串参数并返回字符串值。
To change the number of entries to 100 (for example), add the query string parameter num=100.
例如,要将条目数目改为 100,添加查询字符串参数num=100 。
The solution to this is to add a new variation of the setDirty method that takes a String parameter.
解决这个问题的方案,是添加一个带有 String 参数的setDirty方法的新变量。
This operation takes one String parameter (for example, Jane) and returns a greeting: "Hello Jane!".
这种操作接受一个字符串参数(例如Jane),然后返回一句问候语“Hello Jane!”
It is safe to suppress a warning from this rule if the string parameter does not represent a URI.
如果字符串参数不表示URI,则可以安全地禁止显示此规则发出的警告。
This too USES the JAX-RS annotations to bind the after parameter to the query string parameter called after.
这里也使用JAX - RS注释来将参数after绑定到查询字符参数after上。
Appends the command line with a switch that takes a task item specification that ACTS a single string parameter.
在命令行的后面追加一个开关,该开关采用充当字符串参数的任务项规范数组。
The extra String parameter supplied to jMock CGLIB's mock() method is used as an identifier for the mock object created.
提供给jMockCGLIB 的mock()方法的附加String参数被用作创建的模拟对象的标识符。
It has a single operation, Ask, that takes in a single String parameter, question, and returns a single String as a response, answer.
它具有单个操作——ask,这个操作带有单个string参数——question,并返回单个String作为响应answer。
For example, an int parameter would be declared as int and a String parameter would be declared as String so a value could be returned in it.
例如,int参数将被声明为int,而String参数则被声明为String,因而可以在这些参数中返回一个值。
The first example method takes a String parameter message and prints the message with a timestamp — useful for debugging messages, for example.
第一个示例方法接受 String参数消息,并输出消息和一个时间戳 — 这有利于调试消息。
The point here is that using a string parameter to send XML across a web service interface is generally considered bad design and should be avoided.
在这里我要指出的是,使用字符串参数通过Web服务接口发送XML通常被认为是糟糕的设计,应该加以避免。
Appends the command line with a switch that takes a single string parameter, without attempting to encapsulate the switch parameter with quotation marks.
在命令行的后面追加一个采用单个字符串参数的开关,但不尝试在开关参数的两侧加上引号。
In line 14, a test case must have a single string parameter constructor that passes the argument to its parent class (TestCase) for the purpose of displaying the test case name in a log.
在第十四行中,为了在日志中显示这个测试用例的名称,一个测试用例必须有一个可以将自变量传递到它的父类(TestCase)的专门的串参数构造器。
Appends the command line with a switch that takes a task item specification as a single string parameter, without attempting to encapsulate the switch parameter with quotation marks.
在命令行的后面追加一个采用充当字符串参数的任务项规范数组的开关,但不尝试在任务项规范的两侧加上引号。
In Listing 2, I declare a single static method that accepts a String parameter (traditionally called self, but you can call it whatever you like) that represents the class I'm adding the method to.
在清单2中,我声明了一个单独的静态方法,接收String参数(通常称为self,但是您可以随意为其命名),代表我向其中添加方法的类。
This parameter can be an empty string or NULL, if defaults should be picked.
如果应该使用默认值,那么这个参数可以是空字符串或NULL。
This method expects a String user role-name parameter.
此方法接受一个用户角色名的字符串参数。
In both these forms, the second input parameter, a text string, contains the name of the parameter without qualification.
在这两种形式中,第二个输入参数(文本字符串)包含不带限定的参数名。
The first parameter (a string) is the name of the action method and the second parameter (also a string) is the name of the controller.
第一个参数(字符串)是动作方法的名称,第二个参数(也是字符串)是控制器的名称。
Each of the visitor methods shown takes a signature string as a parameter.
清单中的各访问器方法将签名字符串作为参数。
You saw earlier how to build the parameter string for the method, so it looks like you're all set.
在前面已经见过如何为这个方法构建参数字符串,所以看起来不缺什么了。
The first parameter is the string you want to replace in the current directory path. The second parameter is the replacement string.
第一个参数是当前目录路径中需要替换的参数,第二个参数是替换字符串。
应用推荐