Adding a new method to an object is as simple as defining one in an aspect, as shown in Listing 2.
如清单2所示,在一个对象中添加一个新的方法和在一个方面中定义一个方法是同样简单的。
When defining a complex type with simple content, you can specify two types of assertions.
在使用简单内容定义复杂类型时,可以指定两种类型的断言。
You can fix this by defining a few simple rules from which to reduce the amount of noise, such as removing all words of three letters or less and removing any words with a frequency of 3 or less.
可以通过定义一些简单的规则来解决这个问题,这些规则用于降低干扰,比如说去除所有三个字母以内的单词以及去除频率在3以内的单词。
This tip starts with a simple description of the problem: defining a composite database key.
本技巧从问题的简单的描述开始:定义组合数据库键。
It provides a simple declarative language for defining mappings between models, along with a transformation engine that can interpret mapping definitions in order to perform transformations.
它提供了一种简单的声明语言,可为定义模型之间的映射而用,另外为了完成转换还提供了一个转换引擎,它解释了映射的定义。
Second is its simple DSL-like syntax for defining endpoints.
其次是其简单的用于定义端点的dsl式的语法。
In Listing 6, I've created a simple template that represents an XML document defining a collection of person elements.
在清单6中,我创建了一个简单的模板,它表示一个定义person元素集合的XML文档。
Expression closures are a shorthand method of defining simple functions that mimics lambda notation.
表达式闭包是定义简单函数的一种便捷方式,用来模仿lambda符号。
There is a convention in Objective-C to provide private methods on a class by defining a category within the implementation file; this could be a relatively simple addition by using chained templates.
在Objective - C中有一个惯例通过在实现文件中定义一个类别为一个类提供了私有的方法;通过使用链式模版这将是相关简单的附加物。
Here you are defining a simple type inside the complex type, Mobile.
这里您在复合类型Mobile中定义了一个简单类型。
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回调行为。
Use of the hrtimer API is quite simple, as shown in Listing 2. Within init_module, you start by defining your relative time to time-out (in this case, 200ms).
hrtimerAPI的使用方法非常简单,如清单2所示。在init _ module中,首先定义针对超时的相对时间(本例中为200ms)。
Ultimately, defining Geronimo in terms of simple interactions between simple components makes the container both more robust and easy to modify.
最终,从简单组件之间的简单交互这个角度对Geronimo的定义,让容器既可以更强壮,也更易于修改。
To keep the sample simple, I am only defining the business name, done with the elegantly-named setName method, in Listing 3.
为了简化样本,我只定义了企业名称,并由极好命名的setName方法完成,在清单3。
The UI is kept clean and simple by defining a single text input control with the id txt_test and a default value of FABridge rocks!
通过定义带有id txt _ test和FABridge rock的默认值的单个文本输入控件,可以保持UI干净简单!
Defining a new REST API therefore becomes as simple as defining these action methods, filling them with code, and routing requests to them correctly.
因此,定义新的RESTAPI很简单,就是定义这些操作方法,用代码填充它们,并正确地将请求路由到它们。
After defining a simple hash of the colors considered to be valid precipitation, the image specified is loaded from disk.
在定义了被视为有效降水的简单颜色散列之后,将从磁盘载入指定的图像。
Cheetah provides a simple language for defining templates that provides basic flow control and object access constructs.
Cheetah提供了一门简单语言,用来定义提供基本流控制和对象访问构造的模板。
The primary advantage of defining everything separately is that it's simple to extend, for example by adding a class attribute to all form controls.
分别定义不同成分的主要好处是容易扩展,比如为所有的表单控件添加class属性。
Defining a Job is simple: you provide inputs and outputs, map and reduce implementations (as in Listing 6 and Listing 9), and output types.
定义一个Job比较简单:您需要提供输入和输出、map和reduce实现(如清单6和清单9所示)以及输出类型。
This from defining a value can with see the document of diagram from define an attribute, super text this chain answer, or the simple writing think a conjunction.
此自定义值可与视图的文件自定义属性、超文本链接、或简单文字想连接。
The simple white-rendered surfaces reference the Modernist architecture that is a defining feature of Casablanca's urban fabric.
简洁的白色表面参考现代主义建筑,这是卡萨布兰卡城市肌理的一个明确特征。
Defining a galaxy sounds so simple.
定义“星系”听起来十分容易。
English has cemented itself as the defining cosmopolitan language of our time. Over time, the language grows more streamlined and simple to learn.
英语已经明确了其在我们这个时代都市语言的地位。随时间流逝,这门语言越来越精简、越来越容易学。
By defining macro policy and translation script, this method resolves the problem of transforming a policy to all kinds of configuration modes, which is simple, steady, universal and extensible.
该文提出一种基于宏策略的策略翻译方法,通过定义宏策略和翻译脚本,解决了策略到不同设备的不同配置方式之间的转换问题。
The method provides simple algorithm, clear physics conception to study robustness of the system and to find two original approaches to defining the maximal duty ratio limitation.
该方法不仅思路简单,物理概念清晰,为稳定性分析提供了依据,而且为系统的最大占空比设计提供了两种新颖的方法。
The arts West building reflects this irregular geometry in fuzzy edges. The new building picks up the campus grid again in its simple plan, defining the new campus space of the "arts meadow."
西侧的艺术史学院楼以模糊外缘呼应了这种不规则几何,而新馆以其简洁的平面重新定义校园的网格布局,使新的校园空间成为一片“艺术原野”。
The arts West building reflects this irregular geometry in fuzzy edges. The new building picks up the campus grid again in its simple plan, defining the new campus space of the "arts meadow."
西侧的艺术史学院楼以模糊外缘呼应了这种不规则几何,而新馆以其简洁的平面重新定义校园的网格布局,使新的校园空间成为一片“艺术原野”。
应用推荐