aspose file tools*
The moose likes Java in General and the fly likes Vector and hashtable inTiger Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Vector and hashtable inTiger" Watch "Vector and hashtable inTiger" New topic
Author

Vector and hashtable inTiger

Chinmay Bajikar
Ranch Hand

Joined: Dec 08, 2001
Posts: 159
hi all,
Is it true that Vector and Hashtable are going to be deprecated in Tiger.what are the alternatives classes we need to replace the use of Vector and Hashtable with?
Thanks,
Chinmay


The strength of the Wolf is the pack & the strength of the pack is the wolf....Rudyard Kipling
Jaap van Hengstum
Greenhorn

Joined: Jul 24, 2003
Posts: 24
ArrayList instead of Vector, HashMap instead of Hashtable (also Iterator instead of Enumeration)
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Here's a collections crib sheet that I keep around to help me pick from the new collections. I oughtta add links to the Sun Javadoc, shouldn't I? Hope it's helpful.
[ July 25, 2003: Message edited by: Stan James ]

A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
Is it true that Vector and Hashtable are going to be deprecated in Tiger.
I doubt it, and I haven't heard that anywhere else. On the other hand I kind of hope it's true. Vector, Hashtable, and Enumeration have had superior replacements available for about five years now. Why anyone would still be using the legacy classes is a mystery, unless maybe you've been working with applets and need to support a Java 1.1 VM's. In which case, my condolences to you.


"I'm not back." - Bill Harding, Twister
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Vector and hashtable inTiger