/* MinMaxRecallCounter.java ** Java class that extends Counter by adding methods that report the ** minimum and maximum values reached by a counter and that can set ** a counter's value to either of those. ** ** Author: R. McCloskey and < STUDENTS' NAMES > ** Known Flaws: ... */ public class MinMaxRecallCounter extends Counter { // instance variables (in addition to those inherited) // --------------------------------------------------- // MISSING declaration(s) ?? // Constructors // ------------ public MinMaxRecallCounter(int initVal) { super(initVal); } public MinMaxRecallCounter() { this(0); } // Observers (in addition to those inherited) // ------------------------------------------ /* Returns the smallest count value ever reached by this counter. */ public int minReached() { return 0; // STUB! } /* Returns the largest count value ever reached by this counter. */ public int maxReached() { return 0; // STUB! } // Mutators/Transformers (in addition to those inherited) // ------------------------------------------------------ /* Sets this counter's value to the minimum that it ever reached. */ public void setToMin() { } // STUB! /* Sets this counter's value to the maximum that it ever reached. */ public void setToMax() { } // STUB! }