Assume you want to set up a library holdings catalog. An object class catalogEntry exists and the 13 digit ISBN is used
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Assume you want to set up a library holdings catalog. An object class catalogEntry exists and the 13 digit ISBN is used
Assume you want to set up a library holdings catalog. An object class catalogEntry exists and the 13 digit ISBN is used as the key and the entry object is the value. Fast lookup is top priority. There will be a moderate number of insertions, but lots of look up. Order within the catalog is not required. What would be your choice? TreeMap or HashMap or ArrayList or LinkedList Give two reasons for your choice.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!