public class VariableComparator extends Object implements Comparator<Variable>
Constructor and Description |
---|
VariableComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Variable variable1,
Variable variable2)
Compares two
VariableElement using the following order:
1) strings
2) integers
3) booleans
4) enums
5) collections and maps
For same types or types not listed here, order alphabetically. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public int compare(Variable variable1, Variable variable2)
VariableElement
using the following order:
1) strings
2) integers
3) booleans
4) enums
5) collections and maps
For same types or types not listed here, order alphabetically.compare
in interface Comparator<Variable>
Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.