public void playerWithHighestPoints() { int points = 0 ; Collection col = allPlayers.values(); for(Player temp: col) { if(points < temp.getPoints() ) { points = temp.getPoints(); if(points == temp.getPoints() ) { System.out.println(temp.toString()); } } }