private void addToMap(LocatorReg reg){
  undiscoveredLocators.add(reg);
  queueDiscoveryTask(reg);
}

private void addToMap ( LocatorReg reg ) { undiscoveredLocators . add ( reg ) ; queueDiscoveryTask ( reg ) ; }
adds the given locatorreg object to the set containing the objects corresponding to the locators of desired lookup services that have not yet been discovered , and queues a discoverytask to attempt , through unicast discovery , to discover the associated lookup service .
