mirror of
https://github.com/corda/corda.git
synced 2025-01-01 10:46:46 +00:00
Added Long.valueOf(String)
This commit is contained in:
parent
0f926f8f0b
commit
219e381def
@ -14,6 +14,10 @@ public final class Long extends Number {
|
|||||||
this.value = parseLong(s);
|
this.value = parseLong(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static Long valueOf(String value) {
|
||||||
|
return new Long(value);
|
||||||
|
}
|
||||||
|
|
||||||
public static Long valueOf(long value) {
|
public static Long valueOf(long value) {
|
||||||
return new Long(value);
|
return new Long(value);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user