Interface listFW.IList


public interface IList
extends Object
Represents the abstract list structure with a hook method to call on the extrinsic behaviors represented as visitors.

Author:
D. X. Nguyen, S. B. Wong

Method Index

 o execute (IListAlgo, Object)
Relegates to subclasses to call algo to perform the appropriate task with the given

Methods

 o execute
public abstract Object execute(IListAlgo algo, Object inp)
Relegates to subclasses to call algo to perform the appropriate task with the given input and returns an Object representing the output of the computation.

Parameters:
algo - an extrinsic operation (algorithm) on this IList.
inp - the input needed by algo to perform the computation.
Returns:
an Object representing the output of the computation.