Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Legacy classes

 
kri shan
Ranch Hand
Posts: 1478
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why Vector and HashTable's are called as Legacy classes?
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic