I am wondering how would I add a list of people from a map to a scoreboard. Heres the class: http://pastebin.com/tHWPAyaw
nvm Someone else is helping me!
Crud41 I follow the documentation on the Oracle's API for TreeMap and it still errors out. Thats what I am asking for help.
_Filip How would I do this ex. I am storing players names and how many kills they got. How would I sort that?
Okay, I dont know how to use TreeMaps any examples? Eclipse
How would you use this?
How would you use a config?
What would I use then?
Sorry this my fault I want to sort the HashMap by the integers it contains. So basically I am making a leaderboard.
You cant use .sort() with a HashMap. Any other sugestions? teej107 DJSkepter
Map<String, Integer> OnlineKills = new HashMap<String, Integer>(); DJSkepter Thats how the hashmap is used. In case you need the code here it...
Hello All, Im curious on how to get the top ten values out of a HashMap. Any help here? Thanks, MrMcaustin1
Okay thanks :) Thanks everyone for there help its solved!
adventuretc What does it mean by rebuild?
I tried something and here is my error: http://pastebin.com/ffY0pnqG Here is my class: http://pastebin.com/QXcqep5E teej107
Separate names with a comma.