Code example for TreeSet

Methods: remove

0
		heads_group.add(person);
	} 
	 
	public void removePerson(Person person) {
		in_group.remove(person);
		heads_group.remove(person);
	} 
 
	public TreeSet<Person> getGroupMembers() {
		return in_group;
	} 
	 
	public TreeSet<Person> getGroupHeads() {
		return heads_group;
	} 
}