Lisp也处理条件结构,如if语句。
Lisp also handles conditional constructs such as the if statement.
大多数语言都具有一项称为断言的特性,这是一种会在满足某项条件时停止处理的语句,例如重要变量中出现超出预料的值。
Most programming languages have something called an assert-a statement that stops the processing when a certain condition is met, such as an unexpected value in an important variable.
服务不仅要在条件良好的情况下正常工作,而且还要能够恰当地处理出现错误的情况,这非常重要。
It's important for a service not only to work properly under good conditions, but also to handle error conditions properly.
处理错误条件。
约束的处理模型包括sequential、any和all条件,分别提供了处理约束的不同方式。
The processing model across constraints includes the sequential, any, and all conditions, each of which provides a different way to process the constraints.
首先,不是所有受控异常都是不好的;它们可用于事件通知或根据某些条件重定向处理。
First of all, not all checked exceptions are bad; they might be used for event notification or to redirect processing based on certain conditions.
此外,由于PetaPoco是开源项目,因此添加条件来处理如空间数据等特定情况会很容易。
Besides, since it is open source, it is much easier to add conditions to handle specific scenarios like spatial data.
不过,我们如何就WebSphereXD处理的需要关注的条件向操作员发送警报?
However, how can we alert the operator to conditions of interest handled by WebSphere XD?
消息过期是以不同方式处理的另一种错误条件。
Message expiration is another error condition that is processed differently.
队列中的每个对象如果满足指定条件,就可能触发特殊处理。
Each object in the queue may trigger special processing if the object fulfills specific conditions.
很难处理所有的错误条件,但是这一小小的改变能够涵盖典型Web应用程序中80%的问题。
This is hardly going to handle every error condition, but it's a simple change that covers 80 percent of the problems that can occur in a typical Web application.
该模型规定了成功条件的类型,要求处理的信息在被认为符合要求之前必须通过一系列的约束。
This model specifies the type of successful conditions that must take place across a set of constraints before the information being processed is considered conformant.
根据条件,代码将选择相应类型的对象来处理请求。
Based on the condition, the code selects the appropriate type of object to handle the request.
如果线程正在等待某个特定条件发生,它应该如何处理这种情况?
I ended my previous article by describing a particular dilemma: how does a thread deal with a situation where it is waiting for a specific condition to become true?
最后,如果满足CPU和磁盘条件,则运行该命令并且处理下一条规则。
Finally, if the CPU and disk conditions are met, the command is run and the next rule is processed.
如果对于能够处理请求的所有服务器而言,以下任一条件为真,则将对有效请求返回一个503响应。
If any of the following conditions are true for all the servers that are capable of handling the request, then a 503 response is returned for valid requests.
与之相对,只有在其他系统处理(例如,为未清偿余款提供支付)导致准确匹配相应规则的条件时,该规则才会执行。
By contrast, rules are only executed when the conditions for that rule are exactly matched as a result of other system processing (for example, applying payment against an outstanding balance).
不幸的是,一旦您开始编写通用的断言来描述自己希望在某个特定的函数体中处理的值时,就很容易创建一些模糊的条件。
Unfortunately, once you start writing general predicates describing the values you would like to handle within a particular function body, it becomes easy to create ambiguous conditions.
由于所有消息都在代码内顺序处理,回调没有必要打断应用程序流,因此竞争条件(race condition)更少。
Fewer race conditions because the messages are all handled sequentially in the code with no need for callbacks interrupting the flow.
目前为止,想象一下充分利用WebSphereBusinessEvents之类的事件处理工具实现持续的、实时的事件分析和条件检测的可能性。
By now, you can imagine the possibilities of leveraging the full power of event processing tools like WebSphere Business Events for continuous, real-time event analysis and condition detection.
我们可以稍后处理工作条件的问题。
基于决定在某些情况下采取什么操作的功能条件,可以对错误处理进行参数化。
Error handling can be parameterized based on feature conditions that dictate the actions taken in certain situations.
这是在处理雨洪径流的同时恢复并加强自然栖息地生态条件的有效方法。
It is an effective solution for treatment of storm water runoff while restoring and enhancing the ecological conditions of the natural habitat.
与在同样培养条件下的对照组相比,FGF2处理导致更少的蛋白多醣的转化。
FGF-2 treatment resulted in lower aggrecan turnover compared to untreated controls under identical culture conditions.
视图经常(特别是当您处理表单数据时)要求一些逻辑来根据用户操作和某些条件显示正确的内容。
Often the view, especially when you're handling form data, demands some logic to display the right thing based on user actions and certain conditions.
现在必须处理cancel的审批响应,因此添加一个从AwaitingApproval状态到Canceled状态的转换和一个在审批响应为“cancel”时的检查条件。
The approval response of cancel must now be handled, so a transition from the Awaiting approval state to the Canceled state is added with a condition that checks if the approval response is "cancel".
添加特定协议元素、事务、循环、注释、条件处理和定制代码。
Add protocol-specific elements, transactions, a loop, a comment, conditional processing, and custom code.
它提供了一种支持条件处理、自动化链接和链接检查的方法,还有一个强大的复用模型。
It offers ways to support conditional processing, automatic linking and link checking, and a powerful reuse model.
很多类似任务必须单独编写脚本,因为Ant缺乏对循环、继承和条件处理的支持;因而构建代码将出现重复,以致产生冗余代码。
Many similar tasks must be scripted separately because ant lacks support for loops, inheritance, and conditional processing; therefore, build code is duplicated and is sometimes redundant.
很多类似任务必须单独编写脚本,因为Ant缺乏对循环、继承和条件处理的支持;因而构建代码将出现重复,以致产生冗余代码。
Many similar tasks must be scripted separately because ant lacks support for loops, inheritance, and conditional processing; therefore, build code is duplicated and is sometimes redundant.
应用推荐