Add toStringWithCommas and toStringWithFrenchCommas methods.
This commit is contained in:
parent
2d01b8e162
commit
cfcf121e8a
1 changed files with 26 additions and 0 deletions
|
@ -383,6 +383,32 @@ public class StringList extends ArrayList<String>
|
|||
return (result);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public String toStringWithCommas()
|
||||
{
|
||||
String result;
|
||||
|
||||
result = this.toStringSeparatedBy(",");
|
||||
|
||||
//
|
||||
return (result);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public String toStringWithFrenchCommas()
|
||||
{
|
||||
String result;
|
||||
|
||||
result = this.toStringSeparatedBy(", ");
|
||||
|
||||
//
|
||||
return (result);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue