hg: lambda/lambda/jdk: Docs.
Peter Levart
peter.levart at gmail.com
Sat Mar 23 12:45:45 PDT 2013
On 03/22/2013 09:35 PM, Paul Benedict wrote:
> I noticed that PrimitiveIterator<T> adds no additional benefits to
> Iterator<T>. The subclasses OfDouble/Int/Long add benefit, but not the
> parent. So what's the point of exposing making PrimtiveIterator<T> public?
> It seems it would be better scoped as package-private.
>
> Paul
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?
Regards, Peter
> On Fri, Mar 22, 2013 at 3:05 PM, <paul.sandoz at oracle.com> wrote:
>
>> Changeset: 3c7efb267ab5
>> Author: psandoz
>> Date: 2013-03-22 21:04 +0100
>> URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/3c7efb267ab5
>>
>> Docs.
>>
>> ! src/share/classes/java/util/PrimitiveIterator.java
>>
>>
>>
More information about the lambda-dev
mailing list