Always override hashCode when you override equals es.uniovi.reflection.analyses.bloch.3.9
Reliability
Type Declaration
12/1,969 (99.39%)
This rule detects classes that implement only one of the hashCode and equals methods. Both methods must be implemented to preserve the general contract for the hashCode method.
type AbstractSequence implements the hashCode, but not the equals) method, which must be implemented to preserve the hashCode contract.
type SequenceProxyView implements the hashCode, but not the equals) method, which must be implemented to preserve the hashCode contract.
type SingleCompoundSequenceReader implements the hashCode, but not the equals) method, which must be implemented to preserve the hashCode contract.
type JoiningSequenceReader implements the hashCode, but not the equals) method, which must be implemented to preserve the hashCode contract.
type BitSequenceReader implements the hashCode, but not the equals) method, which must be implemented to preserve the hashCode contract.
type ArrayListSequenceReader implements the hashCode, but not the equals) method, which must be implemented to preserve the hashCode contract.
type StringProxySequenceReader implements the hashCode, but not the equals) method, which must be implemented to preserve the hashCode contract.
type UniprotProxySequenceReader implements the hashCode, but not the equals) method, which must be implemented to preserve the hashCode contract.
type SequenceFileProxyLoader implements the hashCode, but not the equals) method, which must be implemented to preserve the hashCode contract.
type SimplePoint implements the hashCode, but not the equals) method, which must be implemented to preserve the hashCode contract.
type SimpleAlignedSequence implements the hashCode, but not the equals) method, which must be implemented to preserve the hashCode contract.
type ProteinModificationImpl implements the equals, but not the hashCode) method, which must be implemented to preserve the hashCode contract.