Re: In a merged iterator, know which iterator current item belongs

2007-06-11 Thread Dave Newton
--- Anton Pussep <[EMAIL PROTECTED]> wrote: > In this case numbers is of type double[] and > operators is of type String[]. Would be great if you > could tell me how to check for the type. OGNL. d. Bored

Re: In a merged iterator, know which iterator current item belongs

2007-06-10 Thread Anton Pussep
>> but now I need to know to which iterator the >> currently processed entry belongs to, since they >> have to be treated differently. > > Are the items of the same type? > > If so, I'm not sure what you can do. > In this case numbers is of type double[] and operators is of type String[]. Woul

Re: In a merged iterator, know which iterator current item belongs

2007-06-10 Thread Dave Newton
--- Anton Pussep <[EMAIL PROTECTED]> wrote: > but now I need to know to which iterator the > currently processed entry belongs to, since they > have to be treated differently. Are the items of the same type? If so, I'm not sure what you can do. d. ___

In a merged iterator, know which iterator current item belongs

2007-06-10 Thread Anton Pussep
Hello, I want to successively call several iterators. This works perfectly fine with a merged iterator, but now I need to know to which iterator the currently processed entry belongs to, since they have to be treated differently. See the small example below that illustrates my intention. Currentl