public class SignatureKey
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private ParameterKey[] |
signature
The list of parameters.
|
Constructor and Description |
---|
SignatureKey(ParameterKey[] signature)
The constructor for this immutable class.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other)
Test
other object for equality. |
int |
hashCode()
Computes the hash code for this object.
|
private final ParameterKey[] signature
null
when no parameters are present.public SignatureKey(ParameterKey[] signature)
signature
- The array of parameter types or null
if there are no parameters.public boolean equals(java.lang.Object other)
other
object for equality.equals
in class java.lang.Object
other
- The object to compare to.true
only if the other
object is equal to this one.public int hashCode()
hashCode
in class java.lang.Object