Assume you want to set up a library holdings catalog. An object class catalogEntry exists and the 13 digit ISBN is used
Posted: Sun May 15, 2022 1:34 pm
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.