Map and Priority Queues

I want to create a Map with key as an product id(Integer) and then have the value be a priorityQueue as the value. This will store all users object that have bought the same product. This needs to be …