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.

Dung X. Nguyen, Stephen B. Wong

Method Index

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


 o execute
public abstract Object execute(IListAlgo algo, Object inp)
A visitor pattern "hook" method that executes an IListAlgo.

algo - the visitor, the algorithm to be executed.
inp - a generic input parameter to be used by the algorithm algo.
Object output from executing the algorithm algo.