package betsy.common.util; /** * Tracks the progress by means of x/y, e.g., 2/10. */ public class Progress { private final int max; private int current; public Progress(int max) { this.max = max; } public void next() { current++; } /** * @return "current/max" */ public String toString() { return Integer.toString(current) + "/" + max; } }