public class ModuleComparator extends Object implements Comparator<Module>
Constructor and Description |
---|
ModuleComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Module m,
Module m2)
Compares two modules, and sorts them using their types.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public int compare(Module m, Module m2)
compare
in interface Comparator<Module>
m
- a ManagedConnectionModule/OAuthModule to be testedm2
- a ManagedConnectionModule/OAuthModule to be testedm
is less than, equal to, or greater than the second module m2
.Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.