aspose file tools*
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
Author

Legacy classes

kri shan
Ranch Hand

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

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
sscce.org
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Legacy classes