protected void addModule(Map<Class<? extends IFloodlightService>,IFloodlightModule> moduleMap,Collection<IFloodlightModule> moduleList,IFloodlightModule module){
  Collection<Class<? extends IFloodlightService>> servs=moduleServiceMap.get(module);
  if (servs != null) {
    for (    Class<? extends IFloodlightService> c : servs)     moduleMap.put(c,module);
  }
  moduleList.add(module);
}

protected void addModule ( Map < Class < ? extends IFloodlightService > , IFloodlightModule > moduleMap , Collection < IFloodlightModule > moduleList , IFloodlightModule module ) { Collection < Class < ? extends IFloodlightService > > servs = moduleServiceMap . get ( module ) ; if ( servs != null ) { for ( Class < ? extends IFloodlightService > c : servs ) moduleMap . put ( c , module ) ; } moduleList . add ( module ) ; }
add a module to the set of modules to load and register its services
