Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jan 4th, 2013  |  syntax: None  |  size: 0.18 KB  |  views: 18  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. public int hashCode() {
  2.   return 0;
  3.   // clearly all equal objects have the same hash code -- 0
  4.   // but it's totally okay that unequal objects also have the same hash code
  5. }
clone this paste RAW Paste Data