That won't compile. You declared haveKey as boolean. How can you assign a number, zero, to a boolean? Tch!
[And if it happens to compile in Java, it shouldn't. <grin/> ]
By the by, since that was posted way back in November, and since the original poster has never posted here again, I think the odds of his seeing your mildly sick joke are astronomically low.