| Modifier and Type | Field and Description |
|---|---|
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | BibtexStringComparator(boolean
Indicates whether the strings should be sorted according to internal references in addition to alphabetical sorting. considerRefs)
|
| Modifier and Type | Method and Description |
|---|---|
| public int | compare(BibtexString s1, BibtexString s2)
Implements java. Compares its two arguments for order. |
| considerRefs | back to summary |
|---|---|
| private final boolean considerRefs | |
| BibtexStringComparator | back to summary |
|---|---|
public BibtexStringComparator(boolean considerRefs)
| |
| compare | back to summary |
|---|---|
| public int compare(BibtexString s1, BibtexString s2) Implements java. Doc from java. Compares its two arguments for order. Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.
The implementor must ensure that
The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |