提交 9d5fb672 编写于 作者: K Kohsuke Kawaguchi

added a convenience method

上级 fdf0c5ae
...@@ -301,4 +301,9 @@ public class Iterators { ...@@ -301,4 +301,9 @@ public class Iterators {
} }
}; };
} }
public static <T> Iterator<T> sequence(Iterator<? extends T>... iterators) {
return com.google.common.collect.Iterators.concat(iterators);
}
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册