Optimize hashcode function
This commit is contained in:
parent
703e92cc8f
commit
a303067976
@ -55,7 +55,7 @@ public class Int52 extends Number implements Comparable<Int52> {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
return Objects.hash(value);
|
return Long.hashCode(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Reference in New Issue
Block a user