Original Post
Hi, I have this class:
public class Class1 {
private int _id;
private String _name;
public Class1() {
...
}
...
}
and i've created this collection:
Map<Integer, Class1> _stuff = new HashMap<Integer, Class1>();
now, i want to print _stuff into the screen, like:
_id - _name
but sorted alphabetically acording to _name. How can I do this? Huge thx