Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int hash = key.hashCode();
- int index = (hash & 0x7FFFFFFF) % tab.length;
- public static long int_mod(int hashcode, int tab_length){
- return (hashcode % tab_length + tab_length) % tab_length;
- }
Add Comment
Please, Sign In to add comment