MIDlet实现RecordComparator接口,并定义compare (byterec1,byterec2)方法来比较两个候选记录。
The MIDlet implements the RecordComparator interface and defines a compare (byte rec1, byte rec2) method to compare two candidate records.
在Scala文档集中,经典的示例就是Ordered 特征,它定义了名字很有趣的方法,以提供比较(以及排序)功能,如清单13 所示
Within the Scala documentation set, the classic example is the Ordered trait, which defines methods-with-funny-names to provide comparison (and thus ordering) capabilities, as shown in Listing 13
这个大于的操作符的时候,是到类的定义里去识别,大于是一个比较的方法,那么让我在这里说仔细一点吧。
When I try and evaluate that expression of greater than, is going to go into the class to say greater than is a comp method.
一种比较好的方法是创建一个定义事件的接口。
A better way is to create an interface that defines the events.
像下面这样开始一个方法定义可能看起来比较奇怪。
It may look strange to start the method definition like the following.
这个比较代码定义了hashCode()和equals()方法,用来检测类或方法什么时候可以相互替代。
This comparison code defines hashCode() and equals() methods for checking when one class or method can be substituted for another.
它们也是从Guice 2.0开始提供的新方法Guice 1.0中只编写自定义provider类,这比较乏味,而且更加繁琐。
They're also new as of Guice 2.0. The Guice 1.0 way was to write custom provider classes, which were clunkier and more verbose.
不同制造商给出的实际额定负荷取决于他们采用的定义方法,因此,一般无法直接加以比较。
The actual load ratings quoted by various manufacturers depend on the way in which they are defined so that it is not always possible to make direct comparisons between them.
根据所定义的“综合能源价格”,采用与常规热水器进行定量比较的方法,对影响太阳热水器经济性的主要因素进行了分析。
According to the synthetic energy price defined, analyses the main factors of effecting solar water heaters economics by the method of comparison with corresponding general water heaters.
运用文献资料、逻辑分析和比较研究等方法,总结出产业集群的定义、效应和特征。
Using literature review, logic analysis and comparison research, the author summarized the definition, effects and features of industrial cluster.
蒙皮法是目前市场上CAD系统中一种比较常见的曲面定义方法。
Skinning is a common method of surface definition in the CAD system.
方法:按照抗抑郁药物引起躁狂、轻躁狂、快速循环的定义,对321例接受抗抑郁治疗的病人出现躁狂、轻躁狂、快速循环进行调查、分析、比较。
Method: The switching rate during therapy with antidepressants in 321 cases was investigated and analyzed according to the definition of mania, hypomania and rapid cycling induced by antidepressants.
校验系数作为评价桥梁承载能力的指标应该有比较严格的定义和较为准确的计算方法。
As the indicator of evaluating the carrying capacity of the bridge, calibration coefficient should have Strict definition and accurate methods of calculation.
定义方法以支持对象的相等比较。
Defines methods to support the comparison of objects for equality.
文章从模式定义、重用机制、可用工具、方法可用性等角度分析比较了几种主要的设计模式形式化方法。
This paper analyses and compares several main methods of formal specification for design patterns, from points of view of pattern definition, reuse mechanisms, available tools and usability.
这个月份,当我们思想内在生命时,知足是我们要思想的一个重要美德,但有时要明白何谓知足就会比较困难,因为可以有不同的方法来为它下定义。
As we're thinking about our inner life this month, contentment is a great virtue to consider. But sometimes it's hard to know what contentment is because there are several ways to define it.
比较了用不同计算方法和定义方法所得硅团簇熔点。
The melting points obtained by using different calculation methods and definitions also have been compared in this work.
通过案例比较分析了国内外不同规范中对等效孔径的定义、测定方法、大小关系等。
Through the case study we analyze the definitions, measurements and sizes of the equivalent aperture in different specifications home and abroad.
并给出了在这种信息提取与合成方法下判断矩阵的一致性定义;通过比较,证明这种新的信息提取与合成方法的正确性与合理性。
A new definition of consistency is given based on this deriving and synthesizing method, and rightness of this method is also proved in this paper.
在纷繁复杂的定义之争背后,其实掩盖的是对比较文学研究对象和方法的困惑,而这正是比较文学中国学派要能长久存在的立足之本。
In fact, it is our puzzle in the study methods and objects which is the basis of the long existing of our Chinese School that causes the disputes on the definitions of Comparative Literature.
由此,提出了可拓知识表示方法的形式化定义,并且将它与原有的几种知识表示方法进行了详细的比较。
Then the formal definition of extension knowledge representation is proposed and compared with several original methods of knowledge representation.
定义一种特定于类型的通用比较方法,值类型或类通过实现此方法对其实例进行排序。
Defines a generalized type-specific comparison method that a value type or class implements to order or sort its instances.
定义一种判定水力劈裂的安全系数,可方便利用此系数进行水力劈裂判定及不同方法比较。
A new factor of safety for hydraulic fracturing is defined; and it can be conveniently used to assess the safety of dam core hydraulic fracturing.
为了定量地评价这种平滑方法的性能,本文对计算机产生的试验图象定义了一种图象优值,作为评价的指标。并且通过实验将这种平滑方法的性能与梯度的倒数加权平均法、中值滤波法进行了比较。
In order to evaluate the performance of the proposed method quantitatively, a figure of merit for the test image generated by computer is defined and used as a measure of evaluation.
定义通用的比较方法,实值型别或类别会实作这个方法,以建立型别特有的比较方法来排序执行个体。
Defines a generalized comparison method that a value type or class implements to create a type-specific comparison method for ordering instances.
定义通用的比较方法,实值型别或类别会实作这个方法,以建立型别特有的比较方法来排序执行个体。
Defines a generalized comparison method that a value type or class implements to create a type-specific comparison method for ordering instances.
应用推荐