comparator中文,comparator的意思,comparator翻译及用法

2025-10-08 09:02 浏览次数 13

comparator

英['kɒmpəreɪtə]美['kɒmpəˌreɪtə]

n. [仪] 比较仪;比测仪

comparator 英语释义

英语释义

    1. a device for comparing something with a similar thing or with a standard measure

    2. an apparatus used for determining concentration of dissolved substances (as hydrogen ions) in solution by color comparison with known standards

    3. an instrument, device, or set of charts (as for use in chemical analysis and medical diagnosis) for the determination and specification of colors by direct comparison with a standardized system of colors

comparator 片语

片语

horizontal comparator[机]

photoelectric comparator光电比较仪

densitometer comparator黑度比较仪

tape comparator磁带比较仪

voltage comparator[电] 电压比较器

relay comparator继电器比较仪

Window Comparator窗口比较器

disc comparator转盘比色器

phase comparator[电子] 相位比较器

color comparator比色器;比色计

comparator 例句

英汉例句

  • instead of using the deep if-else block or lookup map, create a comparator to deal with the ordering.

    这里是创建一个comparator来处理排序方式,而不是使用大块的if-else语句块或者map查找 。

  • the biggest change is the addition of a comparator class (listing 13) and the methods for extracting the appropriate fields and performing the actual sorting.

    最大的改变是添加了comparator类(清单13)以及抽取适当字段并进行实际排序的方法。

  • methods that use this comparator legitimately depend on it to compare two files, without throwing any exceptions.

    使用这个比较器的方法合理地依靠它来比较两个文件,而不抛出任何异常。

  • if you apply both a comparator and a filter, records that match the search criteria will be returned in sorted order.

    如果同时使用比较器和过滤器,那么将会按照排序顺序返回满足搜索条件的记录。

  • but also notice that the test data comparator now shows expected and actual values for our tests.

    但是也注意到testdatacomparator现在为我们的测试展示了期望的、真实的值。

  • reading(resourceuri, comparator, resourceuri) = compare a reading from the first resource using the comparator operation (b = below, a = above) against the second resource (a reference value)

    reading(resourceuri,comparator,resourceuri) =使用比较操作(b =低于,a =高于),将第一个资源的读数与第二个资源(参考值)进行比较。

  • because the lambda expression has the right argument and return types, the compiler verifies that it can be converted into a comparator and generates the appropriate code for doing so.

    因为lambda表达式拥有正确的参数和返回类型,编译器将证实可以把这些类型转换成comparator,并生成完成此操作的相应代码。

  • after a test executes, you can use the verification point comparator to analyze differences, or to update the baseline (expected object state) if the behavior of the object changes.

    在执行测试之后,您可以利用verificationpointcomparator来分析区别,或者如果对象性能改变了,就更新基线(期望的对象状态)。

  • when the voltage across the cap exceeds the reference voltage, the comparator momentarily triggers the transistor which shorts out the cap, discharging it back to the starting voltage.

    当通过电容器的电压超过了参照电压时,比较器立即触发晶体管以使电容器发生短路,并放电至起始电压。

  • a minor difference between a comparator and a filter is that a comparator returns the entire record store in sorted order, whereas a filter returns only those records that match a specified criteria.

    比较器和过滤器之间的一个微小差别在于比较器返回排序后的整个记录存储,而过滤器只返回那些满足指定条件的记录。

  • listing 11 shows a simple class implementing the comparator interface to sort records based on comparing the string contents of each record.

    清单11展示了一个实现了comparator接口的简单类,它通过比较每条记录的字符串内容对记录进行排序。

  • when a comparator isn「t available, the natural ordering of the elements is used to determine priority. if the elements don」t implement the comparable interface, then that is a run-time error

    在不能使用comparator时,可以使用元素的自然顺序来确定优先级。

  • this technique wouldn「t solve the problem for a regular comparator because you」d have to retry indefinitely to avoid throwing the exception, and many i/o problems aren「t transient.

    这种技巧不能解决常规的comparator的问题,因为必须重试无数次才能避免抛出异常,而且很多i/o问题并不是暂时性的。

  • comparable and comparator were designed for situations where the comparison operation is deterministic and predictable.

    comparable和comparator是为确定的、可预测的比较操作而设计的。

  • the comparator circuit may develop offsets, causing it to trigger early or late.

    比较器电路也许会出现偏移量,导致触发时机的提前或是延迟。

  • the details of the report replicate the test data comparator pane in an html format.

    报告的详细内容以html格式重复testdatacomparator面板。

  • while it is charging, a voltage comparator constantly compares the voltage across the capacitor to a reference voltage.

    当充电时,一个电压比较器就不断地将通过电容器的电压和一个参照电压进行比较。

  • a more flattering comparator is south korea which, like poland, has let its currency slide, while shunning the deficit-swelling policies of britain and america.

    另一个讨好的例子是韩国,它像波兰一样,在回避英美的扩大财政赤字政策之时,也在放任其货币贬值。

  • the enumerator will create a result set of records from the record store, using the comparator as the sorting algorithm.

    这个枚举器将使用比较器作为排序算法,从记录存储创建一个记录结果集。

  • later in this article, i」ll explain how to customize the sorting using a comparator object.

    在本文后面部分,我将解释如何通过使用一个comparator对象来定制排序。

  • if neither the filter nor the comparator are specified, the enumeration will traverse all records in the record store in an undefined order.

    如果既没有指定过滤器又没有指定比较器,枚举将以未定义的顺序遍历记录存储中的所有记录。

  • the getcomparatorfor() method acts as a factory for generating an anonymous comparator class on the fly, based on the passed-in criteria.

    getcomparatorfor()方法充当一个工厂,根据传入的条件动态生成匿名comparator类。

  • sorting with a comparator is one option when working with an enumerator, searching with a filter is the other.

    使用比较器进行排序是使用枚举器时的一种选择,另外一种选择是使用过滤器进行搜索。

  • if the comparator is used for sorting, that can mean the list isn't sorted correctly in the end.

    如果使用这个比较器来排序,那么意味着最终列表没有被正确排序。

相关热词