Lines Matching defs:compare
221 * @param e1 the first method to compare.
222 * @param e2 the second method to compare.
1613 * @param s1 first String to compare.
1614 * @param s2 second String to compare.
1626 * @param s1 first String to compare.
1627 * @param s2 second String to compare.
1643 return tertiaryCollator.compare(s1, s2);
1648 return secondaryCollator.compare(s1, s2);
1672 public int compare(String s1, String s2) {
1684 public int compare(Element mod1, Element mod2) {
1699 public int compare(Element e1, Element e2) {
1717 public int compare(Element pkg1, Element pkg2) {
1753 public int compare(Element o1, Element o2) {
1775 * If comparing modules and packages then simply compare the qualified names, if comparing a module
1776 * or a package with a type/member then compare the FullyQualifiedName of the module or a package
1778 * 1. compare the ElementKind ex: Module, Package, Interface etc.
1782 * 3. finally, if equal, compare the FQNs of the entities
1790 * type/member then compare the FullyQualifiedName of the module or the package
1801 public int compare(Element e1, Element e2) {
1959 public int compare(Element e1, Element e2) {
2079 return Integer.compare(elementKindOrder.get(e1.getKind()),