RE: [Collections] "For each pair" iterator

2008-03-31 Thread GUPTA GAURAV KUMAR
Hi Please provide more details about your query. Better to give some example. KR Gaurav Kumar -Original Message- From: Pedro Pedruzzi [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2008 3:56 AM To: user@commons.apache.org Subject: [Collections] "For each pair" iterator Hi guys, I

[Collections] "For each pair" iterator

2008-03-31 Thread Pedro Pedruzzi
Hi guys, I have a java.util.Set and I'd like to do a iteration like "for each to distinct pair of elements" do something. In this case I don't care for the ordering of the pair. A most precise way would be: "for each subset of size 2" do something. Do the Apache Commons Collections provide some c

Re: [Collections] "For each pair" iterator

2008-03-31 Thread Jukka Zitting
Hi, On Tue, Apr 1, 2008 at 1:25 AM, Pedro Pedruzzi <[EMAIL PROTECTED]> wrote: > I have a java.util.Set and I'd like to do a iteration like "for each > to distinct pair of elements" do something. In this case I don't care > for the ordering of the pair. A most precise way would be: "for each >

[Collections] "For each pair" iterator

2008-03-31 Thread Pedro Pedruzzi
Hi guys, I have a java.util.Set and I'd like to do a iteration like "for each to distinct pair of elements" do something. In this case I don't care for the ordering of the pair. A most precise way would be: "for each subset of size 2" do something. Do the Apache Commons Collections provide some c

Re: [ALL] Nightly Builds

2008-03-31 Thread jieryn
On Mon, Mar 31, 2008 at 2:37 PM, Rahul Akolkar <[EMAIL PROTECTED]> wrote: > We moved to continuum some time ago. AFAIK, we don't actively push out > the builds to any snapshot repository anymore. Perhaps we could link to the Continuum instead of the nightly builds page then? It's pretty misleadi

Re: [ALL] Nightly Builds

2008-03-31 Thread Rahul Akolkar
On 3/31/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > The nightly build system seems to be broken. The last build is about > 5-6 months old. Is anyone resolving this? Thanks! > > http://people.apache.org/builds/jakarta-commons/nightly/ > We moved to continuum some time ago. AFAIK, we don't

[ALL] Nightly Builds

2008-03-31 Thread jieryn
The nightly build system seems to be broken. The last build is about 5-6 months old. Is anyone resolving this? Thanks! http://people.apache.org/builds/jakarta-commons/nightly/ -- There are 10 types of people in this world, those that can read binary and those that can not. -

AW: [vfs] SFTP program not exiting

2008-03-31 Thread Moerk, Detlev
Hi Ken, I think I had the same Problem before. I got a hint about manually closing the Filesystem. That worked for me: FileObject src = mgr.resolveFile(from); FileSystem fs = null; FileSystemManager fsm = null; <-- do your things --> src.close(); fs = src.getFileSystem();

Re: Digester - DynamicDigester?

2008-03-31 Thread tim robertson
Ok - I was overlooking something very simple addObjectParam means I can propagate the pattern into the map key very simply Thanks Tim On Mon, Mar 31, 2008 at 11:37 AM, tim robertson <[EMAIL PROTECTED]> wrote: > Sure, but I have not seen any examples that propogate the original pattern > (not

Re: Digester - DynamicDigester?

2008-03-31 Thread tim robertson
Sure, but I have not seen any examples that propogate the original pattern (not the match as they are different) as the rule fires to the target of the rule - I could implement Rule but that seems a bit overkill for something that I expect can be done with the CallMethodRule. Similarly I don't see

Re: Digester - DynamicDigester?

2008-03-31 Thread [EMAIL PROTECTED]
tim robertson schrieb: > Hi, > I would like to configure some form of DynamicDigester to parse generic XML > that contains repeatable content into a List of Map. > Each repeating element means a new map, and the map is keyed on the pattern, > with the value being the digesting value. > > So conside

Digester - DynamicDigester?

2008-03-31 Thread tim robertson
Hi, I would like to configure some form of DynamicDigester to parse generic XML that contains repeatable content into a List of Map. Each repeating element means a new map, and the map is keyed on the pattern, with the value being the digesting value. So considering: ... Tim 21 Tom 22