The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
February 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Re:

Posted by karthik on February 01, 2001 at 10:44 PM


i guess u need to use the primitive Wrapper classes for that as Hastable expects Objects as keys and values.Infact you can use a Vector as well and keep the "integers" you decide as the index. But they need to follow a order. I mean the index cannot exceed the size() of the Vector at a given time.
Am not sure if i solved your problem.



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us