title: Efficient data pattern to store three related items for easy access
body: <p>I am having a little trouble designing an efficient data storage method of storing some bookmark elements for a word automation project. Here is what i need to do. I need to get all the bookmarkstart and bookmark end and the bookmark id stored in a neat data structure that lets me access any one of these three objects given one of them with the least runtime complexity. If for example i didnt need the id to be stored, i could just make a dictionary and use the bookmark start as a key and the bookmark end as a value to have an access time of O(1). But is there a logical, simple and efficient structure to have this functionalty with all three of these items coupled together?</p>
  
  <p>Thanks</p>