public AmmoTransport(GeolocLocation s, GeolocLocation d) { source = s; dest = d;
public AmmoTransport(ArrayList tasks) { for (Iterator iterator = tasks.iterator(); iterator.hasNext();) { Task t = (Task) iterator.next(); GeolocLocation taskSource = getSource(t); GeolocLocation taskDestination = getDestination(t);  if ((taskSource == null) || (taskDestination == null)) { System.err.println("AmmoTransport(): task without a source/destination"); } else if ((mySource == null) || (myDestination == null)) { mySource = taskSource; myDestination = taskDestination; } else if (!(mySource.getGeolocCode().equals(taskSource.getGeolocCode()))) { System.err.println("AmmoTransport(): " + mySource + " not equal to " + taskSource); } else if (!(myDestination.getGeolocCode().equals(taskDestination.getGeolocCode()))) { System.err.println("AmmoTransport(): " + myDestination + " not equal to " + taskDestination); } }
  public AmmoTransport(GeolocLocation s, GeolocLocation d) {    source = s;    dest = d;  }