mirror of
https://github.com/corda/corda.git
synced 2025-05-04 17:53:05 +00:00
Merge branch 'master' of oss.readytalk.com:/var/local/git/avian
This commit is contained in:
commit
f9426f084f
@ -30,6 +30,10 @@ public final class Integer extends Number implements Comparable<Integer> {
|
|||||||
return new Integer(value);
|
return new Integer(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static Integer valueOf(String value) {
|
||||||
|
return valueOf(parseInt(value));
|
||||||
|
}
|
||||||
|
|
||||||
public boolean equals(Object o) {
|
public boolean equals(Object o) {
|
||||||
return o instanceof Integer && ((Integer) o).value == value;
|
return o instanceof Integer && ((Integer) o).value == value;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user