private void addFacilityToHashMap(ActivityFacilityImpl facility){
  Id<Link> facilityLink=getClosestLink(facility);
  assureHashMapInitializedForLink(facilityLink);
  ArrayList<ActivityFacilityImpl> list=linkFacilityMapping.get(facilityLink);
  list.add(facility);
}

private void addFacilityToHashMap ( ActivityFacilityImpl facility ) { Id < Link > facilityLink = getClosestLink ( facility ) ; assureHashMapInitializedForLink ( facilityLink ) ; ArrayList < ActivityFacilityImpl > list = linkFacilityMapping . get ( facilityLink ) ; list . add ( facility ) ; }
put the facility into the arraylist for the appropriate link .
