mirror of
https://github.com/corda/corda.git
synced 2025-06-16 22:28:15 +00:00
add additional methods and fields to class library
This commit is contained in:
@ -58,6 +58,10 @@ public final class Integer extends Number implements Comparable<Integer> {
|
||||
return Long.toString(((long) v) & 0xFFFFFFFFL, 16);
|
||||
}
|
||||
|
||||
public static String toBinaryString(int v) {
|
||||
return Long.toString(((long) v) & 0xFFFFFFFFL, 2);
|
||||
}
|
||||
|
||||
public byte byteValue() {
|
||||
return (byte) value;
|
||||
}
|
||||
|
Reference in New Issue
Block a user