public Task getRefillProjection(int bucket) {
public ArrayList getRefillProjection(int bucket) {
    public Task getRefillProjection(int bucket) {        // make sure the bucket doesn't cause an array out of bounds        if (bucket < refillProjections.size()) {            return (Task) refillProjections.get(bucket);        } else {            return null;        }    }