A heap and a hashmap are 2 completely different things. How would you do that? Why would you even want to have a heap?