hg: lambda/lambda/jdk: Docs.
pbenedict at apache.org
Sat Mar 23 16:44:17 PDT 2013
But what is the advantage compared to: <U, T extends Iterator<U>> foo(U
On Sat, Mar 23, 2013 at 3:02 PM, Brian Goetz <brian.goetz at oracle.com> wrote:
> Or not being there at all. Couldn't OfDouble/OfInt/OfLong directly
>> extend Iterator and also be placed inside it? Are you anticipating to
>> add any default methods to PrimitiveIterator directly?
> The motivation was not that we might add methods, but that other code in
> the implementation might do:
> <U, T extends PrimitiveIterator<U>> foo(U iterator).
> In fact, earlier versions of the code did exactly that.
More information about the lambda-dev