This post originated from an RSS feed registered with Java Buzz
by Joe Shelby.
Original Post: Why don't they just kill Vector and get it over with...
Feed Title: Joe's Java Jottings
Feed URL: http://www.blog-city.com/bc/
Feed Description: Notes, observations, and occasional other stuff on Java, with concentrations on Swing, XML, and the Semantic (Object) Web.
Peter Ghali on Vector using a different Exception than the List API:In my humble opinion, no object should throw ArrayIndexOutOfBoundsException because this exception implies the use of an array not the use of an Object.
Actually, I'm in favor of just deprecating Vector and Hashtable out entirely. Their capabilities are duplicated by ArrayList and HashMap respectively, with synchronizations handled by the Collections uti