java.lang.Object | |
↳ | com.atlassian.jira.plugin.util.ModuleDescriptors.HashCodeBuilder |
Assists in implementing hashCode()
methods for module descriptors based on the hashCode
of the descriptor's complete key.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates an instance of the
HashCodeBuilder for a module descriptor. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
The computed
hashCode from toHashCode() is returned due to the likelyhood
of bugs in mis-calling toHashCode() and the unlikelyness of it mattering what the hashCode for
HashCodeBuilder itself is. | |||||||||||
Return the computed
hashCode for this module descriptor. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object |
Creates an instance of the HashCodeBuilder
for a module descriptor. Must not be null.
descriptor | the module descriptor to create a hashCode implementation for.
|
---|
The computed hashCode
from toHashCode() is returned due to the likelyhood
of bugs in mis-calling toHashCode() and the unlikelyness of it mattering what the hashCode for
HashCodeBuilder itself is.
hashCode
based on the complete key of the module descriptor.
Return the computed hashCode
for this module descriptor.
hashCode
based on the hashCode of the descriptor's complete key.