Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [higgins-dev] Java devo: replacement for Iterable

+3 ;-)

higgins-dev-bounces@xxxxxxxxxxx wrote on 03/07/2007 08:46:05 PM:

> +1
> 
> >>> "Duane Buss" <DBuss@xxxxxxxxxx> 3/7/2007 3:28 PM >>>
> I personally think #1 is the simplest and appears to meet all of 
ourneeds. 
> 
> 
> Duane
> 
> >>> 
> 
> From: "Jim Sermersheim" <jimse@xxxxxxxxxx>
> To:<higgins-dev@xxxxxxxxxxx>
> Date: 3/7/2007 1:26 PM
> Subject: [higgins-dev] Java devo: replacement for Iterable
> So, our beloved Iterable<someType> way of doing things must die and 
> be replaced by something else.  What do people prefer:
> 
> 1) Use java.lang.Iterator
> 2) Use java.util.Enumeration
> 3) Build our own iterator interfaces.
> 
> #1 and #2 both have the problem of requiring IdAS consumers to cast 
> the java.lang.Object(s) coming out of the iterators to the correct java 
types.
> 
> #3 has the problem of us having to define a lot of new interfaces, 
> and dealing with the maintenance nightmares that come with decisions
> to change apis.
> 
> Jim
> 
> _______________________________________________
> higgins-dev mailing list
> higgins-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/higgins-dev



Back to the top