package list; class NEList extends AList { private Object _first; /** @SBGen Variable (,,,64) */ private AList _rest; /** * @param first * @param rest */ public NEList(Object first, AList rest) { _first = first; _rest = rest; } /** * @return an Object that is the fisrt element of this AList. */ public Object getFirst() { return _first; } /** * @return an AList that is the tail of this AList. */ public AList getRest() { return _rest; } /** * @param input */ public Object execute(IListAlgo algo, Object input) { return algo.forNonEmpty (this, input); } }