This method can take another component as its argument, and will then transfer focus to the component that follows in the focus traversal cycle.
该方法可以把另一个组件作为它的参数,然后把焦点传递给焦点遍历循环中紧接着的那个组件。
All you've done here is take the same signature you used for the method in the actual concrete class.
在这里完成的所有操作是获得用于实际的具体类中方法的同一个签名。
Take a look at the comments in the code to see what the transform method does (Listing 4).
看一下代码中的注释就会明白转换方法的作用(清单4)。
In most cases people take existing code and use a tool to expose a method and generate some WSDL.
在通常情况下,人们拿现成代码,使用工具来暴露方法,并生成WSDL。
If you are familiar with the data, you can probably take steps in the method to optimize results.
如果您熟悉这种数据,那么也许可以修改一下这个方法,看能不能优化结果。
In a follow-up article, we will address specifically how to take the next steps in developing the method dimension together with the process dimension — i.e., capability patterns.
在后续文章中,我们将明确的指出在后面的步骤中如何结合开发过程维度和方法维度-例如,能力模式。
The method exploits a characteristic of immune cells carried in the blood known as t cells. The approach enables scientists to estimate a person's age, give or take nine years either side.
在这种方法中,科学家通过运用血液中携带的免疫T细胞的特点,可以估计一个人的年龄,而误差为九岁左右。
It depends on what you are doing in that sort section originally, but it's possible to save as much as half the time it would take using the method shown in Listing 6.
这取决于最初对排序部分执行的操作,但是如果使用清单6中的方法,则可能节省一半的时间。
The best way is by creating a links folder, as described in Take control: Method 3.
最好的方法是按照实施控制:方法3中所讲述的那样创建一个links文件夹。
Take a look at Oozie source code [4] to see how this method is implemented in the existing Oozie action handlers.
你可以查看一下Oozie的源代码[4],就可以知道在现存的Oozie动作处理程序中是如何实现这个方法的。
The Economist's method has been to ask students—some 250,000 over the years—about why they decided to take an MBA. Results have been published for the past 20 years in our “Which MBA?
《经济学人》采取的办法是,询问学生为什么决定攻读MBA(每年询问大约25000学生),过去20年我们的择校指导已经出版。
The Economist’s method has been to ask students—some 250, 000 over the years—about why they decided to take an MBA. Results have been published for the past 20 years in our “Which MBA?” guide.
《经济学人》采取的办法是,询问学生为什么决定攻读MBA(每年询问大约25000学生),过去20年我们的择校指导已经出版。
No additional handler class is required, because all parsing and document management take place within the Android-supplied libraries, and all JSON-related code is contained in this method.
不需要额外的处理类。因为所有解析和文档管理都在Android提供的库中进行,所有JSON相关的代码都包含在这个方法中。
Because we'd like our Lists to be generic in the type of element they contain, we'd like our static factory method to take an argument of type variable t and return an instance of List.
因为我们希望List成为其所包含的元素类型的泛型,所以希望静态factory方法带有类型变量t这一参数并返回List的实例。
In comparison, it can take weeks to change a cell's identity using the iPS method, with a success rate of just 1% to 2%.
相比之下,采用iPS方法需要几个星期时间改变细胞身份,而且成功率只有1%到2%。
Note that the invoke() method is overridden to either take an Object instance, as in Listing 4, or a Class, in the case that the desired private method is also static.
请注意invoke()方法被覆盖成可以接受一个Object实例(如清单4 所示)或一个Class(这时期望的private 方法也是 static 的)。
Included below in Listing 7 is a simple method to take an SDO DataObject and modify a user specified value.
下面的清单7包含的简单方法用于获取SDODataObject并修改用户指定的值。
The setAccessibleValues() method is more concise than the button sequence in Listing 2. (The method can even take fewer lines, if all the arguments are placed on one line).
setAccessibleValues()方法比清单2 中的按钮序列更简洁(如果将所有参数都放到一行中,该方法甚至只需较少几行就可以了)。
They take two forms, the first one is macros, which is basically like method calls with lazy arguments that can be evaluated in special ways.
有两种形式,第一种是宏,它就像是具有延迟参数的方法调用一样,这些参数可用特殊的方式计算出来。
There are two main cases where you might want to take some code out of a method and put it in another method.
将一部分代码从一个方法中取出并放进另一个方法中的原因主要有两种。
Method calls are the operations that take place to prepare return "messages" in response to incoming messages.
方法调用是这样一种操作:它准备返回“消息”来响应进入的消息。
While data binding isn't usually considered a persistence method, it effectively is just that: a way to take an XML document represented in memory and write it to a file.
虽然通常人们不会考虑使用数据绑定来实现持久化存储,但是它可以有效地实现:读取内存中表示的XML文档并将其写入文件。
If the team were to use a traditional waterfall-style method, as shown in Figure 1, it would take two to three months to record all the requirements in detail.
如果该团队使用传统的瀑布式方法,如图1所示,则需要花两到三个月的时间来详细记录所有的需求。
If you answer no to both (many young people will, in fact), then don't get one, as intestate (the state's default method for handling your leftover assets) will take care of things for you.
如果你都回答否(实际上很多年轻人会这样),那么就不需要了,默认遗嘱(国家默认的遗嘱处理办法)就足够适用了。
In some situations, the code could be rewritten to take advantage of a Clear method on the type with code like this.
在某些情况下,可以重新编写代码,以便用如下代码利用该类型上的Clear方法。
A deck of CARDS, the bottom part is most easily control card in those positions, no matter take a card or other shuffle method.
一副牌,最底的部份是最容易控制需要的牌在那些位置,不论用拿牌法或其它洗牌法。
In Listing 6, I take the duplicated code in Listing 4 and reduce the duplication by using the Pull up method refactoring - extracting behavior from a larger method into an abstract class method.
在清单6中,我用了清单4中的重复代码,使用了PullUpMethod重构来降低重复度—将行为从较大方法提取到一个抽象类方法中。
The listener removal method is slightly different from the standard remove method, in that it does not take an ObjectName.
侦听器除去方法与标准的除去方法稍有差别,因为它不使用ObjectName。
In this case you used the properties method from the Story class. Take a look at that in Listing 15.
在本例中,您使用的是Story类的properties方法,如清单15所示。
In this case you used the properties method from the Story class. Take a look at that in Listing 15.
在本例中,您使用的是Story类的properties方法,如清单15所示。
应用推荐