提交 c49b8d76 编写于 作者: K kohsuke

added a convenience constructor.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@5441 71c3de6d-444a-0410-be80-ed276b4c234a
上级 4917c012
......@@ -31,6 +31,10 @@ public class Iterators {
cur = Collections.<U>emptyList().iterator();
}
protected FlattenIterator(Iterable<? extends T> core) {
this(core.iterator());
}
protected abstract Iterator<U> expand(T t);
public boolean hasNext() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册