最为重要的是,能够轻易地调用在运行时过后所添加的任意行为。
Most important, you can easily invoke any arbitrary behavior, one that has been added after run time.
当想要基于未知规则给一个类添加任意行为时,则需要使用一项不同的技术。
When you want to add arbitrary behavior to a class, based on unknown criteria, you need to use a different technique.
异常处理是每个应用程序的基本要求,以便处理应用程序的任意意外行为。
Exception handling is the basic requirement of every application to handle any unexpected behavior of the application.
所以,基于动态类型和高阶函数,您可以在任何时候向类中引入任意的行为。
So based on the dynamic typing and higher-order functions, you can introduce arbitrary behavior to your classes at any time.
可以为一个普通的类扩展任意的功能并调用类的新行为,尽管当编写原始类时它们根本不存在。
You can extend an ordinary class with arbitrary capabilities and invoke the new behaviors on a class, though they didn't exist when you wrote the original class.
首先,我们以一种简单而一般的方式来处理方法句柄,这是将方法(任意的JVM方法)作为行为单元来管理的,这样他们就可以直接调用了(本来就应该这样)。
First, we factor out method handles as a simple and generic way of managing methods (arbitrary JVM methods) as units of behavior, which are (as methods should be) directly callable.
可以使用任意的行为,但是如果模型目标平台是Web服务,那么就很方便使用可以轻松转换为BPEL4WS的活动。
Any behavior can be used, but if the model target platform is Web services, it is convenient to use an activity that can easily be translated to BPEL4WS.
你想要使用已有代码作为通知,而且不想引入AspectJ注解:比如,引入一个Observer行为调用任意pojo的方法。
You want to use existing code as advice, and don't want to introduce AspectJ annotations into it: for example, introducing an Observer behavior invoking a method on an arbitrary POJO.
习惯五:可以任意次序调用行为方法。
有了模拟扩展,您就可以模拟任意的UML行为图了(活动图、序列图、交流图或者状态图)。
With the Simulation extension, you can simulate any UML behavior (activity diagrams, sequence diagrams, communication diagrams, or state diagrams).
薛定谔建立了一个方程并宣称:“只要你告诉我作用于电子的力,我就能告诉你它在任意时空位置的波函数行为。”
Schrodinger came up with an equation that said: "you tell me the forces acting on the electron, and I can tell you what its wave is doing at any point in space and time."
无论您正在创建一个BPEL过程,还是一个业务状态机,或者是几种其他类型组件中的任意一种,您都需要定义自定义表达式和行为。
Whether you are creating a BPEL process, a business state machine, or any of several other types of components, you need to define custom expressions and behavior.
有些不端行为在得到制度许可后,摇身一变成了正常动作,例如,当任意球飞来时,门口势必会发生冲撞和阻挡。
Some of the misconduct is so institutionalised that it passes for normality. When, for instance, a free-kick is flying in there will be bumping and blocking in the goalmouth.
薛定谔建立了一个方程并宣称:“只要你告诉我作用于电子的力,我就能告诉你它在任意时空位置的波函数行为。”
Schrödinger came up with an equation that said: "You tell me the forces acting on the electron, and I can tell you what its wave is doing at any point in space and time."
关在笼子里的鸽子,若不根据它们的行为而任意间隔来给食物的话,在食物出现之前将永远不会重复它们所作的任何动作。
Caged pigeons, receiving food at random intervals not related to their behavior, will nevertheless repeat any movement they happened to be doing before food appeared.
如果欧洲的问题不完全是由金融家任意妄为引起的(通过某种不可否认的糟糕而愚蠢的行为),那么模式观察员能够从一场波及面更广的危机中学到什么?
If Europe's problems are not only caused by the excesses of financiers (though some bad and stupid behaviour cannot be denied), what can the model-watchers learn from a wider crisis?
它不进行访问控制,所以任何可以登录到这台机器上的人都可以设置任意的消息。我们假设这就是在我们的例子中所期待的行为。
It does no access control, so anyone who can login to the machine can set any message. We assume this is the desired behavior in our case.
但有限责任意味着公司的行为不是其股东的责任。
But limited liability means the actions of a corporation are not the responsibility of its shareholders.
这些行为包括任意搜查和禁令,扣押并破坏财产,人身攻击,驱散,甚至是逮捕和拘留。
These ACTS have included arbitrary searches and prohibitions, seizure and destruction of property, physical assault, dispersion, and even arrest and detention.
每一个行为必须能够理解并决定在游戏运行时候的任意的游戏对象。
Each behavior must be able to understand and make decisions about arbitrary game objects in the world, decided at run time.
强制侦查与任意侦查是根据侦查行为的实施是否以相对人自愿配合为前提而对侦查行为所作的分类。
Compulsory criminal investigation and general criminal investigation is classified by the premise that its implementation whether needs the counter-partner's voluntary cooperation or not.
任意需要接受参数的行为就定义了一个插槽,这些插槽需要其父行为在创建他们的时候填充。
Any behavior that needs to accept a parameter defines a slot for it, which must be filled by whatever parent behavior activates it as a child.
根据侦查行为是否由相对人自愿配合为前提可以将侦查行为分为强制侦查和任意侦查。
According to the investigation being the relative voluntarily match as the premise or not, investigation can be divided into mandatory investigation and arbitrary investigation.
这个行为可确保用户端无法任意长时间地佔用伺服器资源。
This behavior ensures that clients cannot hold on to server resources for arbitrary long periods.
提高法律意识、责任意识、技术水平,规范医疗行为,对防范和解决医疗纠纷意义重大。
It is important for preventing and solving medical disputes to enhance law awareness, responsibility consciousness, technical levels and standardize medical behaviors.
节制是对人类任意向自然索取的放纵行为实施约束的道德规范。
Refrainment is a moral norm which binds man's indulgent behavior of demanding willfully from nature.
组织公民行为包括帮助行为和责任意识。
Organizational citizenship behaviors included helping behavior and conscientious.
从心理学的角度看,责任意识是一种较为复杂的情绪体验,对人生行为具有巨大的推动作用。
From the psychological viewpoint, responsibility consciousness is that a kind of comparatively complicated mood is experienced, have enormous impetuses to the behavior in life.
提出了一种采用辅助参考反馈控制混沌行为的方法,控制混沌系统直接到达任意波形的途径。
Based on an auxiliary reference feedback model, a new method to get whatever waveform is suggested.
医疗行为过错的主客观因素在侵权责任上可以区分为责任意义上的过错和构成意义上的过错。
The subjective and objective factors concerning the fault of medical activities can be divided into the fault in the aspect of liability and the fault in the aspect of structure.
应用推荐