org.mule.devkit.generation.studio.editor
Class VariableComparator
java.lang.Object
org.mule.devkit.generation.studio.editor.VariableComparator
- All Implemented Interfaces:
- Comparator<org.mule.devkit.model.Variable>
public class VariableComparator
- extends Object
- implements Comparator<org.mule.devkit.model.Variable>
|
Method Summary |
int |
compare(org.mule.devkit.model.Variable variable1,
org.mule.devkit.model.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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VariableComparator
public VariableComparator()
compare
public int compare(org.mule.devkit.model.Variable variable1,
org.mule.devkit.model.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.
- Specified by:
compare in interface Comparator<org.mule.devkit.model.Variable>
Copyright © 2010–2013 MuleSoft, Inc.. All rights reserved.