• Handle iteration manually, by defining your own implementation of Iterable.

    手动处理遍历定义自己Iterable实现

    youdao

  • But, just like Iterable, the Enum class is not present in the JDK 1.4 class library.

    但是,同iterable一样JD K 1.4没有enum类。

    youdao

  • And, just like Iterable and Enum, the valueOf methods are not present in the JDK 1.4 class library.

    而且IterableEnum一样value Of方法JD K 1.4存在

    youdao

  • Trying to get an Iterator on a Map fails at compile timeMaps don't implement the Iterable interface.

    编译尝试Map获取Iterator会导致失败Map没有实现Iterable接口

    youdao

  • Extend an existing collection class that already implements Iterable (and therefore already supports for/in).

    扩展现有的、已经实现了 Iterable因此也就已经支持for/in)的集合

    youdao

  • Actually, this enhancement works with any object that implements the Iterable interface, not just Collections.

    实际上这个增强适用实现Iterable接口任何对象,而不仅仅是Collections。

    youdao

  • The reduce method is passed an Iterable whose type will be the type of the (key, value) pairs that are input to it.

    reduce方法传递一个iterable值,它的类型输入(key,value)类型。

    youdao

  • The enhanced for loop (also sometimes known as "for-each" loop) can be used for collections that implement the Iterable interface and for arrays.

    改进for循环(有时称为“for - each”循环)能够用于实现iterable接口集合类数组中

    youdao

  • As you can see, though, it takes a lot more to implement the Iterable interface manually than simply extending a class that does this work for you.

    但是可以看到,与扩展一个现成来完成同样的工作相比手动实现Iterable接口需要工作多得多

    youdao

  • For cases where the child collection is obvious and apparent, however, Iterable makes programming against the domain type much easier and more obvious.

    但是,如果孩子集合比较明显Iterable可以使针对类型编程更容易直观

    youdao

  • The csv.writer method produces a CSV file from an iterable object; cursor.fetchall() is a bit of a beast, and four lines are enough to produce the CSV output.

    writer方法个可迭代对象生成一个CSV文件cursor.fetchall() 功能强大,4 个代码行足以生成 CSV 输出。

    youdao

  • Anything that provides an Iterable facility (technically a trait in Scala, but think of it for now as an interface) can be used as the heart of the for expression.

    提供Iterable功能(从技术上说,是Scala中的特征现在将它视为一个接口)任何东西都可以用作for表达式的核心

    youdao

  • Using Iterable has some obvious drawbacks when domain modeling, because only one such collection of objects can be so "implicitly" supported via the iterator method.

    建模时候使用Iterable一些明显缺陷因为通过iterator方法只能那么隐晦”地支持一个那样对象集合

    youdao

  • Using Iterable has some obvious drawbacks when domain modeling, because only one such collection of objects can be so "implicitly" supported via the iterator method.

    建模时候使用Iterable一些明显缺陷因为通过iterator方法只能那么隐晦”地支持一个那样对象集合

    youdao

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

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

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