Home > Archive > Java Help > January 2005 > java data structure selection
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
java data structure selection
|
|
| timothy ma and constance lee 2005-01-27, 3:58 am |
| Sir
I face the problem to select the approprate data structure
I need to store a page number with the corresponding pointers which are
objects like timestamp, date and ID. Based on the ID, i can determine to do
comparison for delete/override the pointers with the current page number.
Can I use vector for simple or collection?
Thanks a lot
| |
| Wiseguy 2005-01-27, 8:58 am |
| "timothy ma and constance lee" <timcons1@shaw.ca> scribbled on the stall wall:
> Sir
>
> I face the problem to select the approprate data structure
> I need to store a page number with the corresponding pointers which are
> objects like timestamp, date and ID. Based on the ID, i can determine to do
> comparison for delete/override the pointers with the current page number.
>
> Can I use vector for simple or collection?
If the search key will be unique you may want to use a TreeMap collection.
----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---
|
|
|
|
|