Now the only additional pieces of information I need are the method name and the parameters to pass into the method call.
现在,我需要的唯一其他的几条信息就是要传送到方法调用中的方法名称和几个参数。
The method name reflects only one property of the method: the business logic to perform the credit operation.
这个方法名只反映了方法的一个属性:执行信贷业务的业务逻辑。
Listing 4 shows this code, in the form of an application that takes a pair of command-line arguments giving the class name and method name to be timed.
清单4展示了该代码,它是一个带有两个命令行参数的应用程序,这两个参数分别给出类名和要计时的方法名。
It means never thinking twice about misspelling a method name because the compiler immediately indicates the error.
这意味着,不用过多考虑方法名称的拼写错误,因为编译器能够立即指出这类错误。
The service utility calls the SOAP client dynamically for each service implementation and passes the service implementation URL, URN, and method name.
服务实用程序为每个服务实现动态调用SOAP客户机,并传送服务实现URL、URN和方法名。
Within that directory, we have one directory per test method, whose name exactly matches the method name.
在该目录中,我们对每个测试方法都提供了一个目录,其名称完全匹配该方法名称。
You usually do not find out the method name (item 3), and discovering item 4 does not make any sense.
您通常不会发现方法名(第3项),而且发现第4项也没什么意义。
Each service utility class has it own implementation, since the URN name and method name each needs to invoke will be unique.
因为每个服务实用程序类所需调用的UR n名和方法名都将是唯一的,所以它们都有其自己的实现。
In that article, we just passed the class and method name as command-line parameters to my program, which loaded the binary class file, added the timing code, then wrote the class back out.
在该文中,我们只是将类和方法名称作为参数传递给程序,程序加载二进制类文件,添加定时代码,然后写回该类。
It then calls the method and saves the result, then finishes by printing the method name and return value indented to the current nesting level.
然后调用方法并保存结果,然后在比当前缩进位置再缩进的位置打印方法名和返回值。
If I were just going to change a method name in my code, I'd just do it.
如果我想要改变我的代码中某个方法的名称,改就好了。
The namespace URI that scopes the method name in SOAP is functionally equivalent to the interface ID that scopes a method name in DCOM or CORBA.
在SOAP中检查方法名称的名称空间uri与在DCOM或CORBA中检查方法名称的接口id在功能上是相同的。
In case it does not find any it will try to parse the method name and create a query from it.
如果没有找到任何可以解析的方法名,那就会创建一个查询方法。
Putting the class name as a prefix to the method name indicates that the method is a class method.
将类名作为方法名的前缀来指示该方法是类的方法。
What you see in these listings is that the method name and parameters are encoded as Java Strings or parameters (depending on what technology is used).
在这些清单中所看见的方法名和参数是以String或Parameter编码的(取决于所使用的技术)。
In addition, it is desirable to prefix the test method name with "test" so that the test runner will execute all methods automatically.
此外,合适的是测试方法名称都有一个“test ”前缀,这样测试运行人员就可以自动地执行所有的方法。
You'll have some special code for editing CARDS in the view, so you'll use nil in place of what would otherwise be some view-to-model method name.
在视图中,您将有专门的代码用于编辑卡片,所以在本应使用view - to - model之类的方法名的地方,您将使用nil。
Syntactically, it is singled out in Python by being named before the dot — everything following the dot, method name, and left parenthesis is just an argument.
从语法上说,在Python中通过在点之前指定名称来挑选对象-跟在点、方法名和左括号后面的只是一个参数。
Listing 4 adds logging to the third try block, logging just the method name for each part of the stack trace.
清单4向第三个try块添加了日志记录功能,只记录堆栈跟踪每部分的方法名称。
When SOAP is used to perform an RPC call, the Body contains a single element that contains the method name, arguments, and Web service target address.
当SOAP被用于执行一个RPC调用时,Body包含一个单独元素,这个元素包含方法名、参数和Web服务的目标地址。
scriptmethod : The event type (onClick, onChange, and so on) and the method name for the method that should be called in case of an event.
scriptmethod :事件类型(onClick、onChange 等等)和在发生事件时应该调用的方法的名称。
Note, however, that copied syntax contains only the method name followed by empty parentheses, so you must remember the parameters or return to content assist or the reference pane.
但是请注意,所复制的语法仅包含方法名称和空括号,因此必须记得参数或者必须返回内容帮助或reference面板。
In the first string, again a naming convention is followed — finder method name plus WhereClause.
在第一个字符串中,再遵守另一个命名约定—查找器方法名加WhereClause。
If the type is set, I expect an attribute name; otherwise, I assume a method name.
如果类型是set,那么就认为是一个属性名,否则,就认为是一个方法名。
We can then either type a new event handler method name to use, or optionally just press the enter key to name the event handler method using the default naming convention.
然后我们可以输入一个要用的新事件处理方法的名称,或者只要点击回车键,使用默认的命名约定来命名事件处理方法。
Why do you have to preface the method name in the listener attribute with "listener" (it seems redundant, doesn't it)?
为什么必须在listener属性中的方法名称之前加上“listener”前缀(看起来多余,是不是?)
The names of the intermediate values that I needed to compute were prefixed with "get" to derive the method name.
我需要计算的中间值的名称带有“get”前缀,从而推导出方法名。
Note that the method name starts with xget in cases where it returns an XMLBeans type.
注意,在返回XMLBeans类型的情况下,方法名是以xget开头的。
In the send with deferred response dialog, call the sending method name: orderBook, and select Add to remote interface.
在Sendwithdeferredresponse对话框中,将发送方法的名称设为:orderBook,并选择add to remote interface。
All a decorator does is let you avoid repeating the method name, and put the decorator near the first mention of the method in its definition. For example.
decorator所做的一切就是使您避免重复使用方法名,并且将decorator放在方法定义中第一处提及其名称的地方。
应用推荐