commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael A. Smith" <...@apache.org>
Subject Re: [collections] CursorableLinkedList
Date Wed, 30 Oct 2002 04:19:36 GMT
On Tue, 29 Oct 2002, Henri Yandell wrote:
> Any reason why this class isn't a LinkedList? [ie extends it].
> 
> From the name I would quite happily expect to do:
> 
> LinkedList list = new CursorableLinkedList()  etc.
> 
> Just a thought I had while going over the javadoc.

Any particular reason why it should extend java.util.LinkedList?  It 
doesn't buy you anything to cast it to LinkedList (might as well just 
cast it to List).  

regards,
michael

-- 
Michael A. Smith
mas@apache.org


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message