Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public int hashCode() {
- int hash = 0;
- for (int i = 0; i < s.length(); i++)
- hash = (hash * 31) + charAt(i);
- return hash;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement