package genListFW; /** * A visitor to (algorithm on) an IList where T is a subclass of E * Also parameterized by it return type R and parameter type T. */ public interface IListAlgo { public abstract R emptyCase(IMTList host, P ... inp); public abstract R nonEmptyCase(INEList host, P ... inp); }