Update Group.java

add some more logic method in it