mirror of
https://github.com/corda/corda.git
synced 2025-01-21 03:55:00 +00:00
added toHexString() to java.lang.Long
This commit is contained in:
parent
c11203b401
commit
8150d4a3b6
@ -90,6 +90,10 @@ public final class Long extends Number implements Comparable<Long> {
|
||||
return toString(v, 10);
|
||||
}
|
||||
|
||||
public static String toHexString(long v) {
|
||||
return toString(v, 16);
|
||||
}
|
||||
|
||||
public byte byteValue() {
|
||||
return (byte) value;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user