public class LSATDecorator extends EvaluatorDecorator { private double minLSAT; public LSATDecorator(double minLSAT, IEvaluator next) { super(next); this.minLSAT = minLSAT; } public LSATDecorator(IEvaluator next) { this(500, next); } public void eval(Application app) { if (app.lsat == null || app.lsat < minLSAT) { app.accepted = false; } else { super.eval(app); } } }