mirror of
https://github.com/corda/corda.git
synced 2025-06-12 20:28:18 +00:00
GC stress fixes and other bugfixes; classpath progress
This commit is contained in:
@ -9,6 +9,22 @@ public final class Character {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public boolean equals(Object o) {
|
||||
return o instanceof Character && ((Character) o).value == value;
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return (int) value;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return toString(value);
|
||||
}
|
||||
|
||||
public static String toString(char v) {
|
||||
return new String(new char[] { v });
|
||||
}
|
||||
|
||||
public char charValue() {
|
||||
return value;
|
||||
}
|
||||
|
Reference in New Issue
Block a user