java.lang.Object
provided.listFW.visitors.CopyAlgo
- All Implemented Interfaces:
- IListAlgo
Returns a copy of the list
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
CopyAlgopublic CopyAlgo()
 
- 
- 
Method Details- 
emptyCaseReturns an MTList always.
- 
nonEmptyCaseReturns a new NEList where first is the original first and rest is a copy of the original rest.- Specified by:
- nonEmptyCasein interface- IListAlgo
- Parameters:
- nu- Not used
- host- the- NEListthat is executing this algorithm
- Returns:
- result from calling this method. The type of the result is problem-specific and may be null.
 
 
-