Add append methods.

This commit is contained in:
Christian P. MOMON 2010-06-20 14:44:52 +02:00
parent 1fe86f0b8a
commit 36f42f9342

View file

@ -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; 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); return(result);
@ -150,8 +178,8 @@ public class StringList extends ArrayList<String>
{ {
StringList result; StringList result;
result = this.append(String.valueOf(value)).appendln(); result = this.append(value).appendln();
// //
return(result); return(result);
} }