store/[org.clojure/clojure "1.8.0"] clj::clojure.core/iterator-seq

Official Documentation

Add notes
Arities
==================================================
   [iter]

Docstring
==================================================
  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.

Source

(defn iterator-seq
  "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."
  {:added "1.0"
   :static true}
  [iter]
  (clojure.lang.RT/chunkIteratorSeq iter))

Example 1

Edit
;; Note this is not strictly necessary since keySet is a collection
;; implementing Iterable but it does show the usage.

(iterator-seq (.iterator (.keySet (java.lang.System/getProperties))))
;; => ("java.runtime.name"
;;     "sun.boot.library.path"
;;     "java.vm.version"
;;     "java.vm.vendor"
;;     "java.vendor.url"
;;     "path.separator"
;;     "java.vm.name"
;;     "file.encoding.pkg"
;;     ....
;;     sun.cpu.isalist")

Uses on crossclj