package kareltherobot; interface ComputeStrategy { public void compute(UrRobot who); public static final ComputeStrategy NULL = new NullStrategy(); class NullStrategy implements ComputeStrategy { public void compute(UrRobot who) { // nothing } } }