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 Java in General and the fly likes Data structures Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "Data structures" Watch "Data structures" New topic
Author

Data structures

Smitha Prasad
Ranch Hand

Joined: Apr 02, 2002
Posts: 41
Can a vector be put as an item of the hash table? reasons...?
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
1. Try it. Does it work?
2. What kind of things are put in and get from a HashTable?


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Sayed Ibrahim Hashimi
Ranch Hand

Joined: May 17, 2001
Posts: 148
I don't see why you couldn't because a Hashtable will store objects and Vectors are objects.


SCJP 1.4<br /><a href="http://www.cise.ufl.edu/~sih" target="_blank" rel="nofollow">www.cise.ufl.edu/~sih</a>
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Data structures
 
It's not a secret anymore!