commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <bay...@generationjava.com>
Subject [collections] Questions....
Date Tue, 19 Aug 2003 03:40:34 GMT

Few questions.

Firstly, SingletonIterator and SingletonListIterator seem quite similar.
Apart from the extra type of 'ListIterator', it appears that a
SingletonListIterator can do the job of a SingletonIterator in all jobs.
Could just remove SingleIterator.

Second question. What's ListIteratorWrapper useful for?
It seems to just let us throw a normal Iterator into something requiring
ListIterator-ness, except then it'll go ahead and throw exceptions on most
methods. So is it just an iterator that can get the previous element?

Next. MultiMap has a remove(Object, Object) contract and therefore is not
a tag interface as the javadoc states.

The javadoc for a priority queue does not explain what a priority
queue is.

FastXxx classes say that they are not cross-platform, but in no way
discuss which platforms they are targetted at. This makes these classes
useless except to the authors.


Hen


Mime
View raw message