public void updateAllGroups(){
  if (getGroupList() != null) {
    for (    Group group : getGroupList()) {
      group.update();
    }
  }
}

public void updateAllGroups ( ) { if ( getGroupList ( ) != null ) { for ( Group group : getGroupList ( ) ) { group . update ( ) ; } } }
update all neuron groups and other groups .
