With the new behavior method coded in Listing 11, it's time to run it — but doing so indicates a failure, as shown in Listing 13.
有了清单11中编写的新的行为方法之后,现在可以来运行它 —但是这时会产生一个错误,如清单 13 所示。
People's physical morals present out the complicacy phenomena with the changes of athletics behavior method and the worth standard.
人们的体育行为方式和价值标准也在变化,体育道德呈现出复杂而矛盾的现象。
The personality is the total of more stable special mental characteristic in the person's attitude to the reality and behavior method.
性格是人对现实的态度和行为方式中比较稳定的独特的心理特征的总和。
The city square design is not only molded the city material environment, but also induce the person's behavior method, affect the person's feeling.
城市广场设计不仅塑造了城市物质环境,也诱导着人的行为方式,影响着人的心理感受。
In network society, people express the feeling of heart with a new symbol, create the cyberspace, beautiful emotion and new social words language with new behavior method.
网络社会的人们用一种新的符号来表达内心的感受,用新的行为方式来创造虚拟世界和美的情感,新的社会话语产生。
It is just a wrapper around the behavior inside the method.
它只是作为方法内部的行为的包装程序。
If a subclass of one of these classes needed to override the default behavior, it could do so by overriding the method.
如果这些类中的任何一个的子类需要覆盖默认行为,那么可以通过覆盖这个方法实现。
You get the right transactional behavior, in the right place, without modifying any code in the caller, or the target method.
在正确的位置得到正确的事务行为,无需修改调用者或目标方法中的任何代码。
Code comments should also be used in the abstractions to detail specific ideas or behavior for a method to implement.
在提取中还应该使用代码注释,从而详细说明要实现的方法的具体思想或行为。
Munich, Germany: According to my old geology textbook, one method of predicting earthquakes was recognizing nervous behavior in animals such as horses.
慕尼黑,德国:我的地质学课本写道,一种预测地震的方法是观察动物(比如马)的异常行为。
That is, we are changing the behavior of the method.
也就是说,我们在改变方法的行为。
The signature for a method behavior must match its specification operation.
方法行为的签名必须匹配其规格操作。
The subclass can then override any particular method to alter the behavior of the base reader.
然后让子类改写某些特殊的方法从而改变基本读取器的行为。
I decided to create a class method that would encapsulate the above behavior.
因此我决定创建一个类方法来封装上面的行为。
These features make systematic changes to program behavior easy, including changes such as intercepting all calls to a method or all accesses of a field.
这些特性使得对程序行为做出系统性的变更很容易,其中包括诸如拦截所有方法调用或所有字段访问这样的变更。
An alternate method of writing an adapter - and one that some prefer - is to implement an interface to adapt behavior, rather than extending an object.
编写适配器的替代方法——并且是推荐方法——是实现一个接口来修改行为,而不是扩展对象。
It serves purely as a wrapper for the behavior inside the method.
它只是作为方法内部的行为的包装程序。
Each provided operation can have a method behavior that is an activity, interaction, state machine, or opaque behavior (code).
每一项被提供的操作都能够拥有一个方法行为:活动、交互作用、状态机、或者不透明行为(代码)。
You can also delegate the behavior to a public method on the aspect if you choose.
如果愿意的话,还可以将行为委派给方面的公共方法。
The EJB 2.0 specification does not specify the behavior of the container in the case where a method runs without a global transaction.
EJB 2.0规范没有指定如果没有全局事务下运行方法时容器的行为。
This behavior demonstrates why the len method is so important.
这种行为说明了为什么len方法是如此重要。
The Project Explorer view shows a list of the parts of the OrderProcessor provider and a method (behavior) for each provided operation.
ProjectExplorer视图显示了OrderProcessor提供者各个部分的列表,以及每一个被提供的操作的方法(行为)。
The undecorated Foo.say method in this case is a simple placeholder, with the entire behavior determined by the decorator.
本例中未修饰的Foo. say方法是一个简单的占位符,其整个行为都是由decorator决定的。
Last but not least, separating the description of the view and its associated behavior logic has never been easier, thanks to the build method on SwingBuilder.
最后但是也最重要的是,由于SwingBuilder的build方法,分离视图的描述与它相关联的行为逻辑变成再简单不过的事情了。
The component's hook is obviously through the onModuleLoad() method, but if I want to force its behavior, I might have to manipulate some UI components.
很明显组件挂钩是通过 onModuleLoad()方法实现,但是如果我想强制其行为,可能必须操纵某些用户界面(UI)组件。
The Project Explorer view in Figure 7 shows a list of the parts of the OrderProcessor provider and a method (behavior) for each provided operation.
图7中的Project Explorer视图显示了OrderProcessor提供商部分的列表以及每一个提供的操作的方法(行为)。
But because the focus of this article is on defining, calling, and displaying the results of an EJB 2.x session bean method, we kept this Cancel callback behavior simple.
但是由于这篇文章的重点是定义,调用,以及显示一个EJB 2sessionbean方法的结果,我们简单地阻止了这个Cancel回调行为。
Now I can code the behavior for the pop method, which ensures that if the stack is logically empty, an exception will be thrown.
现在我可以为pop方法编写行为,即确保当栈在逻辑上为空时,抛出一个异常。
You can also override a Dojo widget method, subclass an existing Dojo widget for special behavior, or create your own widget.
也可以覆盖一个Dojo小部件方法、针对特定行为子类化一个现有的Dojo小部件或创建您自己的小部件。
The implementations are either designed in UML by using a method behavior for each operation or Accept Call actions in some other behavior.
执行要么使用每一项操作的方法,要么使用一些其他行为中的方法或者AcceptCall操作来在UML中设计执行。
应用推荐