Constructor and Description |
---|
CopyAlgo() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
emptyCase(MTList host,
java.lang.Object... inp)
Returns an MTList always.
|
java.lang.Object |
nonEmptyCase(NEList host,
java.lang.Object... inp)
Returns a new NEList where first is the original first and
rest is a copy of the original rest.
|
public java.lang.Object emptyCase(MTList host, java.lang.Object... inp)
public java.lang.Object nonEmptyCase(NEList host, java.lang.Object... inp)
nonEmptyCase
in interface IListAlgo
host
- the NEList
that is executing this algorithminp
- a variable number of input parameters that can be used for any purpose.