I noticed that the SprmIterator doesn't actually implement the Iterator
interface. I mean, it implements 2 of the functions but simply doesn't
"implements Iterator"
To do so is a net gain. Also, is it necessary to expose this publicly? I
mean, if we have a List getSprms()
List.iterator() does this for me. I mean, you could implement your own
list and simply override the "iterator()" method to return this exact
subtype, but it seems to me the only thing gained is that the "next()"
method has a specific return type and thus you don't need to downcast it.
And, implementing our own list begs the question: Why?
Sorry, I know this is a "new List()" I am on (pun intended) but I know
that the libraries are also developmental.
Christian
http://christian.bongiorno.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/