believe that returning a List is limiting the
implementations choices severely enough that it outweighs the
convenience of using a Collection class?
-- Blake Sullivan
Jeanne Waldman wrote:
three out of six
Original Message
Subject: Re: return an Iterator vs a List
Date
:
three out of six
Original Message
Subject: Re: return an Iterator vs a List
Date: Wed, 4 Apr 2007 15:42:17 -0700
From: Adam Winer [EMAIL PROTECTED]
Reply-To: adffaces-dev@incubator.apache.org
To: adffaces-dev@incubator.apache.org
References:
[EMAIL
is limiting the
implementations choices severely enough that it outweighs the
convenience of using a Collection class?
-- Blake Sullivan
Jeanne Waldman wrote:
three out of six
Original Message
Subject: Re: return an Iterator vs a List
Date: Wed, 4 Apr 2007 15:42
the
convenience of using a Collection class?
-- Blake Sullivan
Jeanne Waldman wrote:
three out of six
Original Message
Subject: Re: return an Iterator vs a List
Date: Wed, 4 Apr 2007 15:42:17 -0700
From: Adam Winer [EMAIL PROTECTED]
Reply-To: adffaces-dev
+1
On 4/5/07, Adam Winer [EMAIL PROTECTED] wrote:
If the only reason is to enable the fun new for syntax,
then we should change the type from Iterator to Iterable,
instead of List. List is a much larger contract.
-- Adam
On 3/28/07, Jeanne Waldman [EMAIL PROTECTED] wrote:
Hi there,
I'm in
In that specific case Iterable would be nice yeah.
On 4/5/07, Matthias Wessendorf [EMAIL PROTECTED] wrote:
+1
On 4/5/07, Adam Winer [EMAIL PROTECTED] wrote:()
If the only reason is to enable the fun new for syntax,
then we should change the type from Iterator to Iterable,
instead of List.
This is the case. It is really to use the fun new for syntax. At least
for now.
- Jeanne
Simon Lessard wrote:
In that specific case Iterable would be nice yeah.
On 4/5/07, Matthias Wessendorf [EMAIL PROTECTED] wrote:
+1
On 4/5/07, Adam Winer [EMAIL PROTECTED] wrote:()
If the only reason
I'd love that. I always found Iterator returning methods too restrictive, so
+1.
On 3/28/07, Jeanne Waldman [EMAIL PROTECTED] wrote:
Hi there,
I'm in the Skinning StyleNode code and I see that the 'get' methods
return Iterators
from the good ol' days.
It seems to me that it is better if they