compareTo
Compares this ModuleRegistry with another based on priority.
Return
A negative integer, zero, or a positive integer as this ModuleRegistry is less than, equal to, or greater than the specified ModuleRegistry.
Parameters
other
The other ModuleRegistry to compare with.