To make this method a little easier, I wrap the access to the variable in a second function that takes a configuration key name and a default value, as shown below.
为使这个方法更加简单,将对变量的访问封装在第二个函数中,该函数使用配置键名及一个缺省值作为参数,如下所示。
Once the sending sensor is identified, the appropriate UI elements are updated with data contained in the array of float values passed as the second argument to the method.
确认了发送数据的传感器之后,将使用方法第二个参数传递的浮点值数组中所包含的数据更新相应的ui元素。
The second code block (lines 6-7) just passes the root element of the document off to the recursive modification method I'll get to in a moment.
第二个代码块(第6 -7行)只是将文档的根元素传递给我马上要谈到的递归修改方法。
In a second step in this sub-type of the analytical method of use, insight gained in the data warehouse is made actionable by feeding it back to the MDM System for use in the IT landscape.
在这种分析性使用方法的子类型的第二步中,把在数据仓库中发现的信息反馈给MDM系统,以便在IT 领域中使用这些信息。
The first is a convenience method (not something that you'd probably want to do in production code), and the second is the traditional method that requires a bit more work.
第一种方法非常方便(但是在产品代码中您可能并不希望使用),第二种方法是传统方法,需要多做一些工作。
The second method lets you pass in both the base name and a specific locale.
第二种方法要求基本名称和特定地区。
The second find method in the customer class, findAllOrder(), uses a key with the searched object type and the customer ID of this instance.
客户类中的第二个find方法是findAllOrder(),它使用了一个包含搜索到的对象类型和该实例的客户ID 的密钥。
Type an object name first, the method second, and any parameters third. For example, in your workspace, type.
首先键入对象名,其次是方法名,最后是所有参数。
The second parameter on the method is the ActivationSpec that you configured in the previous section.
方法的第二个参数是在前一节中配置的ActivationSpec。
The first item in each tuple is a callable object (in this case a method pointer) and the second is a HTTP request type that the method should be called for.
每个元组的第一项是可调用对象(在这里是一个方法指针),第二项是HTTP请求类型,这种请求类型可以调用该方法。
The second method is traceability into test cases, shown in Figure 14.
第二个方法是测试用例中的追踪,如图14所示。
So, the second method is almost always combined with the first, by checking the fields in instantaneous and then doing a batch validation before the form is submitted.
所以,第二种方法几乎总是和第一种方法结合在一起,先对域进行瞬时检查,然后在表单被提交之前执行批处理确认。
The second method works the same in both version 6.0.2 and 6.1 and is shown later in this article.
第二种方法同时适用于版本6.0.2和6.1,在本文的稍后部分中将对其进行介绍。
The researchers claim to have used a more accurate method for the second trial, by sending shorter bunches of the tiny neutrinos with larger gaps in between.
研究人员在第二次实验中采用了更精确的方法——发送较短的中微子束,并且将发送时间用较长的时间间隔开来。
The second method operates in the same fashion but employs two additional parameters to specify the record store's access restrictions.
第二个方法与第一个类似,只不过使用另外两个附加参数来指定记录存储的访问限制。
In Listing 10, the second argument passed to the delete method specifies the constraint or filter to be used when performing the delete operation.
在清单10中,传递给delete函数的第二个参数指定了执行delete操作时使用的约束或过滤器。
And I would agree with you, but the second method is slightly more effective in that you are writing less stuff.
我同意你们的选择,但是第二种方法,要更有效,写较少的东西。
The second class of method in Figure 2 comprises methods that manipulate attributes within elements.
图2中的第二类方法则操纵元素中的属性。
This method (shown in Listing 8) takes two byte arrays, concatenates the second array after the first, and returns the concatenated array.
这个方法(见清单8)取两个字节数组,将第二个数组串接到第一个之后,并返回串接的数组。
The second approach uses a more sophisticated method to track changes in the model used by the view to determine ETag validity ( a "deep ETag" implementation).
第二种方法使用更为复杂的方法追踪view中所使用的model,以确定ETag有效性(一个“深入的”ETag实现)。
The second method in this class is send .
此类中第二个方法是send 。
The second split method demonstrates using a different token character -- in this case, a colon -- to split a string into a sequence of strings.
第二个split方法演示如何使用不同的令牌字符(本例中使用的是冒号)将一个字符串分成一系列字符串。
The second argument in method commit() distinguishes between a One-Phase or Two-Phase-Commit operation.
方法commit()中的第二个参数区分单阶段或两阶段提交操作。
The second view method, panel(), is much shorter. It's shown in Listing 9.
第二个视图方法panel() 则更为简短,如清单 9 所示。
The second field, of type StaticLocalInitFlag, assists in initializing the variable I correctly the first time the method executes on each instance of class Foo.
第二个字段的类型为StaticLocalInitFlag,它在针对foo类的每个实例第一次执行方法时协助正确初始化变量i。
In the second part, I create a second org.apache.bcel.generic.MethodGen instance from the original method, then remove the original method from the class.
在第2部分,我用原来的方法创建第二个or g . apache . bcel . generic . MethodGen实例,然后从类中删除原来的方法。
The second method of taking a trace is to use the DriverManager interface for connections, which can be enabled in one of the following ways.
进行跟踪的第二种方法是使用连接的DriverManager接口,可以通过以下两种方法之一来打开跟踪。
The second collection of practices in the Portfolio Management method, Execution and Validation, is the second part of the overall portfolio assessment effort, which is summarized as follows
PortfolioManagement方法中第二个实践集合,即执行和验证,是整个项目组合管理工作中的第二部分,如下文所概括的
The second collection of practices in the Portfolio Management method, Execution and Validation, is the second part of the overall portfolio assessment effort, which is summarized as follows
PortfolioManagement方法中第二个实践集合,即执行和验证,是整个项目组合管理工作中的第二部分,如下文所概括的
应用推荐