• The code in Figure 2 shows the enumerator.

    图2中的代码表示枚举器。

    youdao

  • Each value retrieved via the enumerator should correspond with one row of the resultset.

    通过枚举器检索的每个值都应与结果集的一行对应。

    youdao

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

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

    youdao

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

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

    youdao

  • Like the RecordComparator, the RecordFilter is implemented by the addition of a single method, matches , to the enumerator code.

    与RecordComparator类似,RecordFilter也是通过在枚举器代码中增加一个方法matches实现的。

    youdao

  • The enumerator does not have exclusive access to the string.

    枚举数对字符串的访问不是独占的。

    youdao

  • Gets an enumerator for the processes that are being debugged.

    获取正在调试的进程的枚举数。

    youdao

  • The enumerator does not have exclusive access to the collection.

    枚举数不具有对集合的独占访问权。

    youdao

  • This determines the formats that the resulting enumerator can enumerate.

    这将确定生成的枚举数可以枚举的格式。

    youdao

  • Returns an enumerator that iterates through the text elements of a string.

    返回一个循环访问字符串的文本元素的枚举器。

    youdao

  • Removing objects from the enumerator also removes them from the collection.

    从枚举数中移除对象也会将这些对象从集合中移除。

    youdao

  • For example, the initializer of an enumerator must be a constant expression.

    例如,枚举成员的初始化式必须是常量表达式。

    youdao

  • Initially, the enumerator is positioned before the first item in the collection.

    列举值一开始会位于集合中第一个项目之前。

    youdao

  • Initially, the enumerator is positioned before the first text element in the string.

    最初,枚举数定位在字符串中第一个文本元素前。

    youdao

  • When an enumerator is created, it takes a snapshot of the current state of the collection.

    在创建枚举数后,该枚举数会创建集合当前状态的快照。

    youdao

  • In this case you must obtain a new enumerator object because the previous one is invalidated.

    这时您必须获取一个新的枚举数对象,因为以前的已无效。

    youdao

  • Gets the number of elements in the enumeration that was retrieved by the specified enumerator.

    获取由指定枚举数检索的枚举中的元素数。

    youdao

  • Replaces the controlled sequence with the sequence that is designated by the given enumerator.

    用给定枚举器指定的序列替换受控序列。

    youdao

  • The enumerator is positioned before the first element of the collection or after the last element.

    枚举数位于集合的第一个元素之前或最后一个元素之后。

    youdao

  • This method instantiates an enumerator that takes a snapshot of the current state of the collection.

    此方法实例化一个枚举数,该枚举数采用集合当前状态的快照。

    youdao

  • Returns an enumerator that can be used to read all the session-state variable names in the current session.

    返回一个枚举数,可用来读取当前会话中所有会话状态的变量名称。

    youdao

  • Provides an enumerator to access the security policy hierarchy by levels, such as computer policy and user policy.

    提供枚举器以按级别(如计算机策略和用户策略)访问安全策略层次结构。

    youdao

  • Creates an enumerator of all the connection points supported in the connectable object, one connection point per IID.

    创建在可连接对象中支持的所有连接点的枚举数,每个IID一个连接点。

    youdao

  • Advances the cursor of this enumerator from its current position so that the specified number of elements are skipped.

    将此枚举数的游标从其当前位置提前,以便跳过指定数量的元素。

    youdao

  • DURING THE 1960 census, an enumerator introduced herself to an elderly woman in Bluefield, W. Va, who was leaning on a hoe.

    在1960年人口普查期间,一位人口普查员对西弗吉尼亚州布卢菲尔德的一位拄着锄头的年长的妇女做了自我介绍。

    youdao

  • If you combine all three — the enumerator, comparator, and filter — you can search for specific records and return them in sorted order.

    如果将这三者——枚举器、比较器和过滤器——结合在一起,您将可以查找特定的记录,并按顺序返回结果。

    youdao

  • Even when a collection is synchronized, other threads can still modify the collection, which causes the enumerator to throw an exception.

    即使集合已同步,其他线程仍可以修改集合,从而使枚举数引发异常。

    youdao

  • Even when a collection is synchronized, other threads could still modify the collection, which causes the enumerator to throw an exception.

    甚至在对集合进行同步处理时,其他线程仍可以修改该集合,这会导致枚举数引发异常。

    youdao

  • The string is saved in a private variable so we have access to the string when the enumerator calls the matches() method to create the result set.

    这个字符串被保存在私有变量中,这样当枚举器调用matches()方法创建结果集的时候就可以访问这个字符串。

    youdao

  • The enumerator does not have exclusive access to the collection, so multiple enumerators can have access to the same collection at the same time.

    该枚举数不具有对集合的独占访问权,因此多个枚举数可以同时具有对同一集合的访问权。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定