wood burning stoves 2.0*
The moose likes Java in General and the fly likes Legacy Methods Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Legacy Methods" Watch "Legacy Methods" New topic
Author

Legacy Methods

Santosh Jagtap
Greenhorn

Joined: Sep 20, 2004
Posts: 23
hi,
Can anybody tell me what are the legacy methods in java?and why they are called legacy methods?

Thnks


Santy
David Ulicny
Ranch Hand

Joined: Aug 04, 2004
Posts: 724
Look at Thread, there is many deprecated methods.


SCJP<br />SCWCD <br />ICSD(286)<br />MCP 70-216
Santosh Jagtap
Greenhorn

Joined: Sep 20, 2004
Posts: 23
then why vector is called to be a legacy class?
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

A "legacy" class, or method, or system, means something that you're stuck with from the past that, if you could start over from the beginning, you'd get rid of. The Vector and Hashtable classes have been superseded by the newer, better ArrayList and HashMap classes, but Vector and Hashtable are still supported so old code can run. But you shouldn't use them in new code.


[Jess in Action][AskingGoodQuestions]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Legacy Methods