Hi All!

I noticed that some QtJambi classes, for example QFont, overrides
equals method but does not overrides hashCode method. First I thoughs
it breaks java convention, that if x.equals(y) == true than
x.hashCode() == y.hashCode() must be true too, but after some checks
and test apps I see that it works just fine. When I am pressing
Ctrl+Click to enter into hashCode method - it shows me
operator_equal() method instead. When I am searching for inherited
methods - it's inherited from java.land.Object. Can you please explain
me how it works, I can't get it myself.
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to