Trust methods receiving arrays
Add missing equals and hash methods to the compareTo methods
Fix  missing equals and hash methods