Sometimes I can't find threads even when I know one exists, so no problems on that count.
FWIW I have a utility class related to the Pivot collections package that has static methods which return an Iterable<T> or Iterator<T> for a supplied Sequence<T>. It is clunky but eases the pain. On 16 August 2011 02:28, Roger L. Whitcomb <[email protected]> wrote: > Thanks. Should have looked a little further before firing off the email.... > > Roger Whitcomb | Architect, Engineering | [email protected] | Ingres > | 500 Arguello Street | Suite 200 | Redwood City | CA | 94063 | USA +1 > 650-587-5596 | fax: +1 650-587-5550 > > -----Original Message----- > From: Chris Bartlett [mailto:[email protected]] > Sent: Monday, August 15, 2011 12:18 PM > To: [email protected] > Subject: Re: Should Sequence implement Iterable? > > Here is a previous thread on the same subject > http://apache-pivot-users.399431.n3.nabble.com/let-Sequence-lt-T-gt-extend-Iterable-lt-T-gt-td729282.html > > On 16 August 2011 02:06, Roger L. Whitcomb <[email protected]> wrote: >> Maybe I am missing something, but wouldn't it make sense if >> org.apache.pivot.collections.Sequence implemented Iterable ? That way >> you could use the "foreach" construct on Containers that implement >> Sequence<Component>.... (for instance). >> >> >> >> Roger Whitcomb >> >> Architect, Engineering >> >> Ingres Corporation >> >> [email protected] <mailto:[email protected]> >> >> >> >> PHONE +1 650.587.5596 >> >> FAX +1 650.587.5550 >> >> >> >> www.ingres.com <http://www.ingres.com/> >> >> >> >> This transmission is confidential and intended solely for the use of the >> recipient named above. It may contain confidential, proprietary, or >> legally privileged information. If you are not the intended recipient, >> you are hereby notified that any unauthorized review, use, disclosure or >> distribution is strictly prohibited. If you have received this >> transmission in error, please contact the sender by reply e-mail and >> delete the original transmission and all copies from your system. >> >> >> >> >
