fix equals and hashcode
Merge pull request #7 from otaviojava/master

fix equals and hashcode