listFW.visitor
Class CopyList<T>
java.lang.Object
listFW.visitor.CopyList<T>
- All Implemented Interfaces:
- IListAlgo<T,IList<T>,IListFactory<?>>
public class CopyList<T>
- extends Object
- implements IListAlgo<T,IList<T>,IListFactory<?>>
Copies an IList using the an IListFactory supplied as an input parameter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CopyList
public CopyList()
emptyCase
public IMTList<T> emptyCase(IMTList<? extends T> host,
IListFactory<?>... fac)
- Specified by:
emptyCase
in interface IListAlgo<T,IList<T>,IListFactory<?>>
nonEmptyCase
public INEList<T> nonEmptyCase(INEList<? extends T> host,
IListFactory<?>... fac)
- Specified by:
nonEmptyCase
in interface IListAlgo<T,IList<T>,IListFactory<?>>