public class SchemaPathComparator
extends java.lang.Object
implements java.util.Comparator
PathMap
instances by their xpath property.Constructor and Description |
---|
SchemaPathComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2)
sorts by order in which paths are processed by MetadataFramework.populateFields (and
therefore are added to the docMap) so one value doesn't get stomped by another.
|
public int compare(java.lang.Object o1, java.lang.Object o2)
compare
in interface java.util.Comparator
o1
- PathMap1o2
- PathMap2