Top "Iterable" questions

An iterable is an object, such as a string or collection, that can be iterated over, yielding up its members one at a time.

Java: why are iterators not copyable

I would think that Iterator.copy() would be quite a handy function. You could implement iterator filters in a much …

java iterator copy iterable
Simplest way to stream an iterator

Say you want to stream the elements of an iterator; let's use a concrete example of a Scanner, which implements …

java iterator java-8 java-stream iterable
Dart convert every element of list

I have a List<String> stringValues; that are actually numbers in quotes. I want to convert this list …

list dart iterable
Scala: Exposing a JDBC ResultSet through a generator (iterable)

I've got a set of rows in a database, and I'd like to provide an interface to spin through them …

scala jdbc iterable