Skip to content

Commit

Permalink
Add Counter#clear(T)
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerS1066 committed Sep 23, 2022
1 parent af82600 commit 9bc3ff4
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ public void clear() {
counter.clear();
}

public void clear(T item) {
counter.removeInt(item);
}

public int size() {
return counter.size();
}
Expand Down

0 comments on commit 9bc3ff4

Please sign in to comment.