GeeCON Prague 2014*
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>
 
GeeCON Prague 2014
 
subject: Data structures