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