Added Long.valueOf(String)

This commit is contained in:
Eric Scharff 2007-09-26 10:32:02 -06:00
parent 0f926f8f0b
commit 219e381def

View File

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