This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Legacy classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Legacy classes" Watch "Legacy classes" New topic

Legacy classes

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1396
Why Vector and HashTable's are called as Legacy classes?
marc weber

Joined: Aug 31, 2004
Posts: 11343

Legacy: "...Computing - denoting software or hardware that has been superseded but is difficult to replace because of its wide use." ~Oxford

Java's newer collections framework provides alternatives that are generally preferable to Vector and Hashtable. In particular, see ArrayList and HashMap. So although new code (probably) shouldn't be written using Vector and Hashtable, there's still plenty of old code out there keeping these classes alive.
[ February 14, 2005: Message edited by: marc weber ]

"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
Have you checked out Aspose?
subject: Legacy classes
It's not a secret anymore!