Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Java equals()

Name: Anonymous 2009-05-18 5:38

I want to put an equals() method in all of mine immutable (final) classes.
Should I use the instanceof or the getClass() approach?

thanks!

Name: Anonymous 2009-05-19 5:33

>>12

Speaking of retarded you shit heating faggot, in Java int is a "primitive" type. It is not an Object. Integer is an object type. It is the object type for int.

So Sun implemented efficient primitive types with Object implementations.

Instead of doing the fucking right thing and make all types Objects that are efficient.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List