import java.util.Iterator; import utils.Filter; /** A kind of Filter that lets all the VALUE elements of its input sequence * that are larger than all the preceding values to go through the * Filter. So, if its input delivers (1, 2, 3, 3, 2, 1, 5), then it * will produce (1, 2, 3, 5). * @author You */ class MonotonicFilter extends Filter { /** A filter of values from INPUT that delivers a monotonic * subsequence. */ MonotonicFilter(Iterator input) { // FIXME } @Override protected boolean keep() { return false; // FIXME } // FIXME }