forEach/forEachOrdered/forEachRemaining ... iterate?
peter.levart at gmail.com
Mon Jun 24 06:31:20 PDT 2013
On 06/24/2013 11:41 AM, Remi Forax wrote:
> If you have only the method forEach and a class that implement
> Iterator and Iterable (why is not the problem here:), then you are
> in trouble to provide the code of forEach given the semantics for
> iterating over an Iterable and iterating over an Iterator is not the same.
Well, I haven't thought of that.
More information about the lambda-dev