Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Store array in hastable

807606Mar 4 2007 — edited Mar 5 2007
Hello,

I am implementing a cache in my application using hash table. I want to store array as the key value eg put (key1,array[]). I believe this is possible. How ever I am not quite sure how to retrieve the elements in the array.

Like if i want to retrieve the first element of the array. I am not sure if I have to cast it into array before reading its contents and not sure if I even can cast it.

I do have to search for other alternative if this is not possible

Thanks for any suggestions

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Apr 2 2007
Added on Mar 4 2007
3 comments
112 views