[jdom-interest] Optimized Lists

Bradley S. Huffman hip at a.cs.okstate.edu
Fri Jan 11 06:58:40 PST 2002


Absolutely true, you think they could of documented in List along with
AbstractList.

Alex Rosen writes:

> > 2. Re-implement all of the methods in the List interface.  For example,
> >    currently you only re-implement remove(int) hoping that the other
> >    removes will use this re-implementation to do their work. Not
> >    safe at all.
> 
> Actually the contract for AbstractList, which is ArrayList's superclass,
> guarantees that this is safe.



More information about the jdom-interest mailing list