Re: [Fwd: Re: return an Iterator vs a List]

2007-04-12 Thread Scott O'Bryan
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

Re: [Fwd: Re: return an Iterator vs a List]

2007-04-11 Thread Blake Sullivan
: 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

Re: [Fwd: Re: return an Iterator vs a List]

2007-04-09 Thread Blake Sullivan
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

Re: [Fwd: Re: return an Iterator vs a List]

2007-04-09 Thread Adam Winer
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

Re: return an Iterator vs a List

2007-04-05 Thread Matthias Wessendorf
+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

Re: return an Iterator vs a List

2007-04-05 Thread Simon Lessard
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.

Re: return an Iterator vs a List

2007-04-05 Thread Jeanne Waldman
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

Re: return an Iterator vs a List

2007-03-28 Thread Simon Lessard
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