public class SortInputFieldAscending
extends java.lang.Object
implements java.util.Comparator
Constructor and Description |
---|
SortInputFieldAscending() |
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2)
Compare InputField objects by their XPath fields (in "natural order"), only
taking indexing into account (e.g., "/record/general[1] comes before
"record/general[10]").
|
public int compare(java.lang.Object o1, java.lang.Object o2)
compare
in interface java.util.Comparator
o1
- InputField 1o2
- InputField 2