// now add the samples to the HashMap
String url = sample.getSampleLabel();
if (url == null) {
url = sample.getURL().toString();
}
SamplingStatCalculator row = (SamplingStatCalculator)data.get(url);
if (row == null) {
row = new SamplingStatCalculator();
// just like the aggregate listener, we use the sample label to represent
// a row. in this case, we use it as a key.
this.data.put(url,row);
}
row.addSample(sample);
}