android - 什么是 "all"迭代器?

标签 android groovy

在 gradle 的 Android 插件中,我想使用这个建议使用 all 迭代器的方法:

/**
 * Returns the list of Application variants. Since the collections is built after evaluation,
 * it should be used with Groovy's <code>all</code> iterator to process future items.
 *
 */
 public DefaultDomainObjectSet<ApplicationVariant> getApplicationVariants() {
     return applicationVariantList
 }

但是,我没有设法在 Groovy 官方文档中找到有关此迭代器的任何信息。 在哪里可以找到有关此迭代器的更多信息?它与 each 迭代器有何不同?

最佳答案

关于android - 什么是 "all"迭代器?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30637819/

相关文章:

regex - 使用正则表达式进行简单的 Groovy 替换

github - Jenkins Github 插件未设置状态

android - 如何在Android中使用okhttp库向api(http post)添加参数

android - react native : Elevation Style Property - Change shadow direction

java - 无法解析构造函数 'ImageButton()'

java - eclipse Windows 64位打不开

编解码器内的Grails createLink?

groovy - Jsoup 与 groovy XmlSlurper?

arrays - 具有嵌入式数组的JSON对象保存在Controller中

android - 错误更新或从数据库中删除; "could not execute method"