Hi Furhter to my earlier email on ChainingIterator, I have a simple standalone test program that replicates the problem. There is a class in this source file that implements OJBIterator by wrapping round a standard java.util.Iterator and Collection (for the size).
The test program creates 3 collections
(i) containg "a", "b", and "c"
(ii) an empty collection
(iii) containing "d", "e", and "f"
I setup three implementations of OJBIterator one per collectiomn above then
add them to
an instance of ChainingIterator. When I iterate through the chaining
iterator I would expect to see
"a"
"b"
"c"
"d"
"e"
"f"
on my screen but I only get
"a"
"b"
"c"
Cheers
Mark
----------------------------------------------------------------
Mark Rowell
CreditTrade
T: +44 (020) 7400 5078
M: mailto:[EMAIL PROTECTED]
CreditTrade Limited is regulated by the FSA. (c) CreditTrade 2002. All rights
reserved. The information and data contained in this email is provided for the
information purposes of the addressee only and should not be reproduced and/or
distributed to any other person. It is provided without any warranty whatsoever and
unless stated otherwise consists purely of indicative market prices and other
information.
Any opinion or comments expressed or assumption made in association with the data or
information provided in this email is a reflection of CreditTrades judgement at the
time of compiling the data and is subject to change. CreditTrade hereby makes no
representation and accepts no responsibility or liability as to the completeness or
accuracy of this email.
The content of this email is not intended as an offer or solicitation for, or
recommendation of, the purchase or sale of any financial instrument, or as an official
confirmation of any transaction, and should not be construed as investment advice.
Test.java
Description: Binary data
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
