What does 0x7fffffff mean? Is there any other way to code getHashValue method?
public int getHashValue(K key){ return (key.hashCode() & 0x7fffffff) % size; } I don't understand what 0x7fffffff does mean. Is there any other way to code getHasValue method?
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.