listFW.visitor
Class ReverseList3
java.lang.Object
listFW.visitor.ReverseList3
- All Implemented Interfaces:
- IListAlgo<Object,IList<? extends Object>,IListFactory<?>>
public class ReverseList3
- extends Object
- implements IListAlgo<Object,IList<? extends Object>,IListFactory<?>>
Attempt to reverse any kind of list, but requires that the factory match the list
Could have serious problems at run-time due to type erasure
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReverseList3
public ReverseList3()
emptyCase
public IMTList<? extends Object> emptyCase(IMTList<? extends Object> host,
IListFactory<?>... fac)
- Specified by:
emptyCase
in interface IListAlgo<Object,IList<? extends Object>,IListFactory<?>>
nonEmptyCase
public INEList<? extends Object> nonEmptyCase(INEList<? extends Object> host,
IListFactory<?>... fac)
- Specified by:
nonEmptyCase
in interface IListAlgo<Object,IList<? extends Object>,IListFactory<?>>