ClojureDocs

导航

命名空间

iterator-seq

clojure.core

自 1.0 起可使用 (源代码)
  • (iterator-seq iter)
Returns a seq on a java.util.Iterator. Note that most collections
providing iterators implement Iterable and thus support seq directly.
Seqs cache values, thus iterator-seq should not be used on any
iterator that repeatedly returns the same mutable object.