mirror of
https://github.com/corda/corda.git
synced 2025-06-13 12:48:18 +00:00
GC stress fixes and other bugfixes; classpath progress
This commit is contained in:
@ -9,6 +9,26 @@ public final class Byte extends Number {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public boolean equals(Object o) {
|
||||
return o instanceof Byte && ((Byte) o).value == value;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return toString(value);
|
||||
}
|
||||
|
||||
public static String toString(byte v, int radix) {
|
||||
return Long.toString(v, radix);
|
||||
}
|
||||
|
||||
public static String toString(byte v) {
|
||||
return toString(v, 10);
|
||||
}
|
||||
|
||||
public byte byteValue() {
|
||||
return value;
|
||||
}
|
||||
|
Reference in New Issue
Block a user