Skip to content

Commit f050bc6

Browse files
committed
Minor construcor changes
1 parent da0ccbc commit f050bc6

File tree

1 file changed

+1
-9
lines changed
  • eclipse/io.github.mzattera.v4j/src/main/java/io/github/mzattera/v4j/util

1 file changed

+1
-9
lines changed

eclipse/io.github.mzattera.v4j/src/main/java/io/github/mzattera/v4j/util/Counter.java

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -68,21 +68,13 @@ public int count(T obj, int n) {
6868
}
6969

7070
/**
71-
* Counts all given items once.
71+
* Counts all given items.
7272
*/
7373
public void countAll(Collection<T> objs) {
7474
for (T o : objs)
7575
count(o);
7676
}
7777

78-
/**
79-
* Counts all given items n times.
80-
*/
81-
public void countAll(Collection<T> objs, int n) {
82-
for (T o : objs)
83-
count(o, n);
84-
}
85-
8678
/**
8779
* Counts all items that are already counted in another Counter<>.
8880
*

0 commit comments

Comments
 (0)