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