public class BibtexStringComparator extends java.lang.Object implements java.util.Comparator<BibtexString>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
considerRefs |
| Constructor and Description |
|---|
BibtexStringComparator(boolean considerRefs) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(BibtexString s1,
BibtexString s2) |
public BibtexStringComparator(boolean considerRefs)
considerRefs - Indicates whether the strings should be
sorted according to internal references in addition to
alphabetical sorting.public int compare(BibtexString s1, BibtexString s2)
compare in interface java.util.Comparator<BibtexString>