No, because as long as you have the HashMap set up as <Item, Player> if you use hashmap.get(item) it returns the player. Again HashMap's store data using a Key and a Value. In this instance Item is the Key and Player is the Value so if you use hashmap.get(Key) it returns whatever Value associated with it is and here would be a Player.