2011-02-05 20 views

回答

18

刪除符號位。在hashCode是負數的情況下。 其如Math.abs(key.hashCode())

+1

除了我會想象可能會更快...... – 2011-02-05 01:12:32