Created StatList#isEmpty() to check if there are any stats in any list

This commit is contained in:
Collin Smith 2020-09-03 18:37:30 -07:00
parent 948f1a189c
commit fa7e066ee1

View File

@ -91,6 +91,10 @@ public final class StatList {
return size;
}
public boolean isEmpty() {
return size() == 0;
}
public int size(int list) {
return endingOffset(list) - startingOffset(list);
}