You could do this:
Map<String, List<Student>> map = new HashMap<String, List<Student>>();
List<Student> studlist = new ArrayList<Student>();
studlist.add(new Student("1726", "John", "New York"));
map.put("New York", studlist);
the keys will be locations and the values list of students. So later you can get a group of students just by using:
studlist = map.get("New York");