listFW.visitor
Class Append<T>
java.lang.Object
listFW.visitor.Append<T>
- All Implemented Interfaces:
- IListAlgo<T,IList<T>,IList<T>>
public class Append<T>
- extends java.lang.Object
- implements IListAlgo<T,IList<T>,IList<T>>
Append another list, passed as input[0], at the end of this list.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_fac
private IListFactory<T> _fac
Append
public Append(IListFactory<T> fac)
emptyCase
public IList<T> emptyCase(IMTList<? extends T> host,
IList<T>... input)
- Returns the input list.
- Specified by:
emptyCase
in interface IListAlgo<T,IList<T>,IList<T>>
- Parameters:
input
- input[0] is the list to append.
nonEmptyCase
public IList<T> nonEmptyCase(INEList<? extends T> host,
IList<T>... input)
- Returns the appended lists.
- Specified by:
nonEmptyCase
in interface IListAlgo<T,IList<T>,IList<T>>
- Parameters:
input
- input[0] is the list to append.