Skip to content

Instantly share code, notes, and snippets.

@lildata
Last active August 29, 2015 14:18
Show Gist options
  • Save lildata/af5735fa0704335eacd7 to your computer and use it in GitHub Desktop.
Save lildata/af5735fa0704335eacd7 to your computer and use it in GitHub Desktop.
new Iterator[String] {
def hasNext = resultSet.next()
def next() = resultSet.getString(1)
}.toStream
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment