Add append methods.
This commit is contained in:
parent
1fe86f0b8a
commit
36f42f9342
1 changed files with 31 additions and 3 deletions
|
@ -129,6 +129,20 @@ public class StringList extends ArrayList<String>
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public StringList append(int value)
|
||||
{
|
||||
StringList result;
|
||||
|
||||
result = this.append(String.valueOf(value));
|
||||
|
||||
//
|
||||
return(result);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
@ -136,7 +150,21 @@ public class StringList extends ArrayList<String>
|
|||
{
|
||||
StringList result;
|
||||
|
||||
result = this.append(String.valueOf(value)).appendln();
|
||||
result = this.append(value).appendln();
|
||||
|
||||
//
|
||||
return(result);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public StringList append(long value)
|
||||
{
|
||||
StringList result;
|
||||
|
||||
result = this.append(String.valueOf(value));
|
||||
|
||||
//
|
||||
return(result);
|
||||
|
@ -150,8 +178,8 @@ public class StringList extends ArrayList<String>
|
|||
{
|
||||
StringList result;
|
||||
|
||||
result = this.append(String.valueOf(value)).appendln();
|
||||
|
||||
result = this.append(value).appendln();
|
||||
|
||||
//
|
||||
return(result);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue