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 |
}
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();
}
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();