public boolean isSingleData() {
return samples.size() == 1l;
}
private SnapshotData makeSingle() {
return new SnapshotData(
getSingltonMap(getLastKey(samples)),
getSingltonMap(getLastKey(avg)),
getSingltonMap(getLastKey(minimum)),
getSingltonMap(getLastKey(maximum)),
getSingltonMap(getLastKey(stddev))