Re: [lang] Dev support for LANG-378 new ToStyle to support MultiLine with Indent

2011-08-23 Thread Sébastien Lorber
Hello, I never contributed to any opensource project (except opening some tickets) but i think i could help here, have some experience with the subject, was working on a kind of "recursive tostringbuilder" 2011/8/23 Henri Yandell > Switching over to the dev list. > > Anyone available to work

Re: [collections] Iterate over sublists of an original list

2011-08-19 Thread Sébastien Lorber
scala... The groupBy Matthew Pocock talk about could also be implemented easily i think 2011/8/18 Sébastien Lorber > That's true. > > The grouped() method in scala do exactly that. > > I agree, these functions are quite useful that's why i sent a mail: to see > i

Re: [collections] Iterate over sublists of an original list

2011-08-18 Thread Sébastien Lorber
u should jump to scala to use its collections library, > or even use scala-library.jar from your Java app, but I do find this method > together with groupBy() one of the more useful bits of functionality. Pity > something like it isn't supported by other 3rd party collections for Java

Re: [collections] Iterate over sublists of an original list

2011-08-18 Thread Sébastien Lorber
; > > http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html#subList(int > > , > > int) > > > > > > http://people.apache.org/~simonetripodi/ > > http://www.99soft.org/ > > > > > > > > On Thu, Aug 18, 2011 at 2:26 PM, Sébastie

[collections] Iterate over sublists of an original list

2011-08-18 Thread Sébastien Lorber
Hello, It's not the first time i have to split a big list of hibernate entities ID's to sublists of 100 items for exemple so that i could load all these entities 100 in a single request (with a "where id in (") Thus I want to iterate easily on sublists of a list, with the possibility to give the