gitweb on Svarog
projekti pod git sistemom za održavanje verzija -- projects under the git version control system
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0684f67)
raw | patch | inline | side by side (parent: 0684f67)
author | Doni Pracner <quinnuendo@gmail.com> | |
Sat, 19 Nov 2016 15:22:29 +0000 (16:22 +0100) | ||
committer | Doni Pracner <quinnuendo@gmail.com> | |
Sat, 19 Nov 2016 15:22:29 +0000 (16:22 +0100) |
Hash/boje-i-automobili/StatSet.java | patch | blob | history | |
Hash/primeri/StatSet.java | patch | blob | history |
index 3e1e37f7d83e7e25ada2622e713c8eb3a7d67447..65886b667eaf1d47c52bc99a24c897a3cc244a02 100644 (file)
}
public void printStats() {
- System.out.printf("Different values:\t%6d\n", set.size());
+ System.out.printf("Number of elements:\t%6d\n", set.size());
int numv = getNumberOfValues();
System.out.printf("Different values:\t%6d\t(%.2f %%)\n", numv, numv*100.0/set.size());
double avg = getAverageChainLength();
index 3e1e37f7d83e7e25ada2622e713c8eb3a7d67447..65886b667eaf1d47c52bc99a24c897a3cc244a02 100644 (file)
}
public void printStats() {
- System.out.printf("Different values:\t%6d\n", set.size());
+ System.out.printf("Number of elements:\t%6d\n", set.size());
int numv = getNumberOfValues();
System.out.printf("Different values:\t%6d\t(%.2f %%)\n", numv, numv*100.0/set.size());
double avg = getAverageChainLength();