/** * Writes the statistics as an annotation. * * @param out {@code non-null;} where to write to */ public final void writeAnnotation(AnnotatedOutput out) { if (dataMap.size() == 0) { return; } out.annotate(0, "\nstatistics:\n"); TreeMap<String, Data> sortedData = new TreeMap<String, Data>(); for (Data data : dataMap.values()) { sortedData.put(data.name, data); } for (Data data : sortedData.values()) { data.writeAnnotation(out); } }
/** * Writes the statistics as an annotation. * * @param out {@code non-null;} where to write to */ public final void writeAnnotation(AnnotatedOutput out) { if (dataMap.size() == 0) { return; } out.annotate(0, "\nstatistics:\n"); TreeMap<String, Data> sortedData = new TreeMap<String, Data>(); for (Data data : dataMap.values()) { sortedData.put(data.name, data); } for (Data data : sortedData.values()) { data.writeAnnotation(out); } }
/** * Writes the statistics as an annotation. * * @param out {@code non-null;} where to write to */ public final void writeAnnotation(AnnotatedOutput out) { if (dataMap.size() == 0) { return; } out.annotate(0, "\nstatistics:\n"); TreeMap<String, Data> sortedData = new TreeMap<String, Data>(); for (Data data : dataMap.values()) { sortedData.put(data.name, data); } for (Data data : sortedData.values()) { data.writeAnnotation(out); } }
/** * Writes the statistics as an annotation. * * @param out {@code non-null;} where to write to */ public final void writeAnnotation(AnnotatedOutput out) { if (dataMap.size() == 0) { return; } out.annotate(0, "\nstatistics:\n"); TreeMap<String, Data> sortedData = new TreeMap<String, Data>(); for (Data data : dataMap.values()) { sortedData.put(data.name, data); } for (Data data : sortedData.values()) { data.writeAnnotation(out); } }
/** * Writes the statistics as an annotation. * * @param out {@code non-null;} where to write to */ public final void writeAnnotation(AnnotatedOutput out) { if (dataMap.size() == 0) { return; } out.annotate(0, "\nstatistics:\n"); TreeMap<String, Data> sortedData = new TreeMap<String, Data>(); for (Data data : dataMap.values()) { sortedData.put(data.name, data); } for (Data data : sortedData.values()) { data.writeAnnotation(out); } }
/** * Writes the statistics as an annotation. * * @param out {@code non-null;} where to write to */ public final void writeAnnotation(AnnotatedOutput out) { if (dataMap.size() == 0) { return; } out.annotate(0, "\nstatistics:\n"); TreeMap<String, Data> sortedData = new TreeMap<String, Data>(); for (Data data : dataMap.values()) { sortedData.put(data.name, data); } for (Data data : sortedData.values()) { data.writeAnnotation(out); } }
/** * Writes the statistics as an annotation. * * @param out {@code non-null;} where to write to */ public final void writeAnnotation(AnnotatedOutput out) { if (dataMap.size() == 0) { return; } out.annotate(0, "\nstatistics:\n"); TreeMap<String, Data> sortedData = new TreeMap<String, Data>(); for (Data data : dataMap.values()) { sortedData.put(data.name, data); } for (Data data : sortedData.values()) { data.writeAnnotation(out); } }
/** * Writes the statistics as an annotation. * * @param out {@code non-null;} where to write to */ public final void writeAnnotation(AnnotatedOutput out) { if (dataMap.size() == 0) { return; } out.annotate(0, "\nstatistics:\n"); TreeMap<String, Data> sortedData = new TreeMap<String, Data>(); for (Data data : dataMap.values()) { sortedData.put(data.name, data); } for (Data data : sortedData.values()) { data.writeAnnotation(out); } }