[jdom-interest] Optimized Lists

Alex Rosen arosen at silverstream.com
Fri Jan 11 00:19:23 PST 2002


> 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.

Alex




More information about the jdom-interest mailing list