Returns the hash code value for this OpenMBeanConstructorInfoSupport
instance.
The hash code of an OpenMBeanConstructorInfoSupport
instance is the sum of the hash codes of all elements of
information used in equals
comparisons (ie: its name
and signature, where the signature hashCode is calculated by a
call to java.util.Arrays.asList(this.getSignature).hashCode()
).
This ensures that t1.equals(t2)
implies that t1.hashCode()==t2.hashCode()
for any two OpenMBeanConstructorInfoSupport
instances t1
and
t2
, as required by the general contract of the method
Object.hashCode()
.
However, note that another instance of a class implementing
the OpenMBeanConstructorInfo
interface may be equal to
this OpenMBeanConstructorInfoSupport
instance as
defined by OpenMBeanConstructorInfoSupport.equals(java.lang.Object)
, but may have a
different hash code if it is calculated differently.
As OpenMBeanConstructorInfoSupport
instances are
immutable, the hash code for this instance is calculated once,
on the first call to hashCode
, and then the same value
is returned for subsequent calls.
Returns:
the hash code value for this {@code
OpenMBeanConstructorInfoSupport} instance