Skip to main content

iterator-seq

functionv1.0

clojure.core/iterator-seq

Available in:BBCLJ
(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.

No examples yet. Be the first to add one!