package clist; /** * Represents all algorithms on the CLList as visitors. */ public abstract interface ICLVisitor { /** * @param host * @param stop the reference to where the algorithm should stop. * @param inp */ public abstract Object forEmpty (CLList host, CLList stop, Object inp); /** * @param host * @param stop the reference to where the algorithm should stop. * @param inp */ public abstract Object forNonEmpty (CLList host, CLList stop, Object inp); }