java.lang.Object | |
↳ | com.atlassian.plugin.descriptors.ModuleDescriptors.EqualsBuilder |
Assists in implementing a consistent implementation of equals(Object)
methods for
module descriptors based on the complete key of the descriptor.
The full specification of the equals(Object obj) contract is defined by
equals(Object)
Usage:
new ModuleDescriptors.EqualsBuilder().descriptor(this).isEqualTo(obj);
new ModuleDescriptors.EqualsBuilder().descriptor(descriptor1).isEqualTo(descriptor2);
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Sets the module descriptor to create an
equals implementation for. | |||||||||||
Returns true if the given object is also a module descriptor and the two descriptors have the same
"complete key" as determined by |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Sets the module descriptor to create an equals
implementation for.
descriptor | the module descriptor. |
---|
Returns true if the given object is also a module descriptor and the two descriptors have the same
"complete key" as determined by getCompleteKey()
.
obj | object to be compared for equality with this module descriptor. |
---|