Originally posted by pradeepta chopra:
i mean "pradeepta chopra" and "Pradeepta chopra" are meaningfully equivalent
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Which makes me think: why isn't there a hashCodeIgnoreCase? When I use a case insensitive equality check in my equals method, and I also want to include the String's hash code in my own hashCode method, I have to convert the String to upper- or lowercase first, then use its hashCode method. I don't like that since it can create a new object - just so I can get a case insensitive hash code.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |