Hi Roger, as you I have no idea of missing useful methods there. And as you I like the idea to add these utility methods, to have better encapsulation of what is done, and avoid duplication of logic.
And maybe we could think (if it's possible) on a useful flag to control the ability to trigger events at any element added (default) and only at start and end ... like adding many rows to a DB table (disabling temporary triggers until the load has finished). For sure Greg can say you more ... but probably it would be better to add this in 2.1 . Bye, Sandro 2011/8/24 Roger L. Whitcomb <[email protected]>: > Any particular reason there is no "addAll(Collections<?> list)" method > in ArrayList? Or in List itself? I see lots of times in our code that > we iterate over one list and add the elements one at a time to another > list, which could be simplified by having that logic in the List > class(es) themselves.... > > > > > > > > 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. > > > >
