Changed return type of StatList#clear to support chaining

This commit is contained in:
Collin Smith 2020-09-02 02:15:38 -07:00
parent 4cc595da29
commit daf2314bac

View File

@ -73,11 +73,12 @@ public final class StatList {
return this;
}
public void clear() {
public StatList clear() {
assertMutable();
size = 0;
tail = 0;
numLists = 0;
return this;
}
public int size() {