{"id":{"repo_id":"sjsu","oai_identifier":"oai:scholarworks.sjsu.edu:etd_projects-2335"},"canonical_url":"https://search.ndltd.org/etd/sjsu/oai:scholarworks.sjsu.edu:etd_projects-2335","repository":{"repo_id":"sjsu","name":"San Jose State University","base_url":"https://scholarworks.sjsu.edu/do/oai/"},"display":{"title":"MultiMap Implementation in OpenJDK","abstract":"A key-value pair is an elementary data model in which a unique key is associated with a given value. This association between the key and the value allows for a quick lookup of data based on the key and hence is extensively used in programming languages, NoSQL databases, caches, session management, etc. In Java OpenJDK, this elementary data model is implemented by the interface Map, which allows efficient storage and retrieval of data but can only store a single value against each key. In this project, we have implemented a MultiMap data structure in OpenJDK which allows associating multiple values against a single key. Implementation of the project consists of an interface MultiMap which is further implemented by an abstract class, and finally has three implementations ArrayListMultiMap, SetMultiMap, and TreeMultiMap. Each of these multimaps allows the association of multiple values against a single key and provides some unique properties for the associated values which will be discussed in the implementation part. The AbstractMultiMap class provides us with implementations of some methods and views that allow users to perform operations and queries on data in a multimap. In the experiments section, we have compared the execution times of inserting different numbers of key-value pairs in various implementations of multimap. Mainly we have considered our implementation of MultiMap in OpenJDK, multimap in Google Guava library, and multimap in C++. From these experiments, we observed that our implementation of MultiMap in OpenJDK provided better performance for primitive datatypes such as Integer and Float, while Google Guava provided better performance for complex data structures such as String.","abstract_html":"A key-value pair is an elementary data model in which a unique key is associated with a given value. This association between the key and the value allows for a quick lookup of data based on the key and hence is extensively used in programming languages, NoSQL databases, caches, session management, etc. In Java OpenJDK, this elementary data model is implemented by the interface Map, which allows efficient storage and retrieval of data but can only store a single value against each key. In this project, we have implemented a MultiMap data structure in OpenJDK which allows associating multiple values against a single key. Implementation of the project consists of an interface MultiMap which is further implemented by an abstract class, and finally has three implementations ArrayListMultiMap, SetMultiMap, and TreeMultiMap. Each of these multimaps allows the association of multiple values against a single key and provides some unique properties for the associated values which will be discussed in the implementation part. The AbstractMultiMap class provides us with implementations of some methods and views that allow users to perform operations and queries on data in a multimap. In the experiments section, we have compared the execution times of inserting different numbers of key-value pairs in various implementations of multimap. Mainly we have considered our implementation of MultiMap in OpenJDK, multimap in Google Guava library, and multimap in C++. From these experiments, we observed that our implementation of MultiMap in OpenJDK provided better performance for primitive datatypes such as Integer and Float, while Google Guava provided better performance for complex data structures such as String.","abstract_has_math":false,"creators":["Yadav, Nishant"],"institution":null,"degree_name":"Master of Science in Computer Science (MSCS)","degree_level":null,"degree_discipline":"Computer Science","degree_department":null,"school":null,"contributors":["Robert Chun","Katerina Potika","Thomas Austin"],"advisors":[],"committee_chairs":[],"committee_members":[],"year":null,"date_issued":"","date_published":null,"updated_at":"2026-11-26T14:02:10Z","subjects":["MultiMap","OpenJDK","Google Guava","Other Computer Engineering"],"languages":[],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier","label":"Identifier","values":["https://scholarworks.sjsu.edu/etd_projects/1335"],"render_values":[{"text":"https://scholarworks.sjsu.edu/etd_projects/1335","href":"https://scholarworks.sjsu.edu/etd_projects/1335","code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.31979/etd.z2r2-cvvf","outbound_label":"DOI","outbound_source":"dc:identifier","record_url":"https://doi.org/10.31979/etd.z2r2-cvvf","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Asjsu%3Aoai%3Ascholarworks.sjsu.edu%3Aetd_projects-2335","prefix":"oai_dc"},"source_record":{"url":"https://scholarworks.sjsu.edu/do/oai/?verb=GetRecord&metadataPrefix=oai_etdms&identifier=oai%3Ascholarworks.sjsu.edu%3Aetd_projects-2335","prefix":"oai_etdms"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor","label":"Contributor","values":["Robert Chun","Katerina Potika","Thomas Austin"]},{"key":"dc:creator","label":"Author","values":["Yadav, Nishant"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.available","label":"Dc Date Available","values":["2023-12-20T08:00:00Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2023-01-01T08:00:00Z"]},{"key":"dc:type","label":"Dc Type","values":["Master's Project"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science in Computer Science (MSCS)"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["MultiMap","OpenJDK","Google Guava","Other Computer Engineering"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["https://doi.org/10.31979/etd.z2r2-cvvf","https://scholarworks.sjsu.edu/etd_projects/1335"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["A key-value pair is an elementary data model in which a unique key is associated with a given value. This association between the key and the value allows for a quick lookup of data based on the key and hence is extensively used in programming languages, NoSQL databases, caches, session management, etc. In Java OpenJDK, this elementary data model is implemented by the interface Map, which allows efficient storage and retrieval of data but can only store a single value against each key. In this project, we have implemented a MultiMap data structure in OpenJDK which allows associating multiple values against a single key. Implementation of the project consists of an interface MultiMap which is further implemented by an abstract class, and finally has three implementations ArrayListMultiMap, SetMultiMap, and TreeMultiMap. Each of these multimaps allows the association of multiple values against a single key and provides some unique properties for the associated values which will be discussed in the implementation part. The AbstractMultiMap class provides us with implementations of some methods and views that allow users to perform operations and queries on data in a multimap. In the experiments section, we have compared the execution times of inserting different numbers of key-value pairs in various implementations of multimap. Mainly we have considered our implementation of MultiMap in OpenJDK, multimap in Google Guava library, and multimap in C++. From these experiments, we observed that our implementation of MultiMap in OpenJDK provided better performance for primitive datatypes such as Integer and Float, while Google Guava provided better performance for complex data structures such as String."]},{"key":"dc:title","label":"Title","values":["MultiMap Implementation in OpenJDK"]}]}],"canonical_facts":{"dc:contributor":["Robert Chun","Katerina Potika","Thomas Austin"],"dc:creator":["Yadav, Nishant"],"dc:date.available":["2023-12-20T08:00:00Z"],"dc:date.created":["2023-01-01T08:00:00Z"],"dc:description.abstract":["A key-value pair is an elementary data model in which a unique key is associated with a given value. This association between the key and the value allows for a quick lookup of data based on the key and hence is extensively used in programming languages, NoSQL databases, caches, session management, etc. In Java OpenJDK, this elementary data model is implemented by the interface Map, which allows efficient storage and retrieval of data but can only store a single value against each key. In this project, we have implemented a MultiMap data structure in OpenJDK which allows associating multiple values against a single key. Implementation of the project consists of an interface MultiMap which is further implemented by an abstract class, and finally has three implementations ArrayListMultiMap, SetMultiMap, and TreeMultiMap. Each of these multimaps allows the association of multiple values against a single key and provides some unique properties for the associated values which will be discussed in the implementation part. The AbstractMultiMap class provides us with implementations of some methods and views that allow users to perform operations and queries on data in a multimap. In the experiments section, we have compared the execution times of inserting different numbers of key-value pairs in various implementations of multimap. Mainly we have considered our implementation of MultiMap in OpenJDK, multimap in Google Guava library, and multimap in C++. From these experiments, we observed that our implementation of MultiMap in OpenJDK provided better performance for primitive datatypes such as Integer and Float, while Google Guava provided better performance for complex data structures such as String."],"dc:identifier":["https://doi.org/10.31979/etd.z2r2-cvvf","https://scholarworks.sjsu.edu/etd_projects/1335"],"dc:subject":["MultiMap","OpenJDK","Google Guava","Other Computer Engineering"],"dc:title":["MultiMap Implementation in OpenJDK"],"dc:type":["Master's Project"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_name":["Master of Science in Computer Science (MSCS)"]},"updated_at":"2026-11-26T14:02:10Z"}