Interface listFW.IList
- public interface IList
- extends Object
Serves as a host for an algorithm on a list to visit its internal structure.
Has a "hook" method to call on the appropriate method of the visitor, making
the immutable list structure a framework.
- Author:
- Dung X. Nguyen, Stephen B. Wong

execute
(IListAlgo, Object)
- A visitor pattern "hook" method that executes an
IListAlgo

execute
public abstract Object execute(IListAlgo algo, Object inp)
- A visitor pattern "hook" method that executes an
IListAlgo
.
- Parameters:
- algo - the visitor, the algorithm to be executed.
- inp - a generic input parameter to be used by the algorithm algo.
- Returns:
Object
output from executing the algorithm algo.