Package com.ehealthsystem.tools
Class StringEnumerator
java.lang.Object
com.ehealthsystem.tools.StringEnumerator
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
StringEnumerator
public StringEnumerator()
-
-
Method Details
-
enumerate
Display any string list (e.g. doctor's specializations) to the user in a friendly way The elements in the list are enumerated, separated by a comma- Parameters:
list
- The list that is to be enumerated- Returns:
- A single string, enumerating all the elements in the provided list
-