listFW.visitor
Class MakePhrase

java.lang.Object
  extended by listFW.visitor.MakePhrase
All Implemented Interfaces:
IListAlgo<String,String,String>

public class MakePhrase
extends Object
implements IListAlgo<String,String,String>

A test algorithm that works on a list of strings, combining the elements into a single String.


Field Summary
static MakePhrase Singleton
           
 
Constructor Summary
private MakePhrase()
           
 
Method Summary
 String emptyCase(IMTList<? extends String> host, String... inp)
           
 String nonEmptyCase(INEList<? extends String> host, String... inp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Singleton

public static MakePhrase Singleton
Constructor Detail

MakePhrase

private MakePhrase()
Method Detail

emptyCase

public String emptyCase(IMTList<? extends String> host,
                        String... inp)
Specified by:
emptyCase in interface IListAlgo<String,String,String>

nonEmptyCase

public String nonEmptyCase(INEList<? extends String> host,
                           String... inp)
Specified by:
nonEmptyCase in interface IListAlgo<String,String,String>