From: Gerd M. <ge...@sm...> - 2001-06-12 12:34:32
|
On Tue, 12 Jun 2001 09:33:20 +0100 "Kal Ahmed" <ka...@te...> wrote: > Hi, > > Just a heads-up to let you know that I added a new method to the TopicMap > interface: > > Iterator getObjects(); > > Which should return an Iterator over all of the TopicMapObjects which are > associated with the topic map. > > The in-memory implementation has this function added, although it is broken > because it only iterates over Topics and Associations. I'm working on a fix. > However, I guess that the Ozone implementation will need updating too...do > you have time to take a look at that, Gerd ? At the moment I don't have the time for a full implementation, since iterators are a bit tricky. But I will add a dummmy implemenation to stay interface compatible. Just an idea: Is it really necessary to return an iterator. Wouldn't be a collection enough ? That would make the ozone impl. much more easier. Best Regards, Gerd -- ________________________________________________________________ Gerd Mueller ge...@sm... SMB GmbH http://www.smb-tec.com |