add misc methods to classpath

This commit is contained in:
Joel Dice
2007-09-13 20:19:44 -06:00
parent ce97b6eecb
commit 5e42158f4b
4 changed files with 22 additions and 0 deletions

View File

@ -9,6 +9,10 @@ public final class Long extends Number {
this.value = value;
}
public Long(String s) {
this.value = parseLong(s);
}
public static Long valueOf(long value) {
return new Long(value);
}