| Modifier and Type | Field and Description |
|---|---|
| private final Comparator | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | compare(ComparableCitedReference firstReference, ComparableCitedReference secondReference)
Implements java. Compares its two arguments for order. |
| entryComparator | back to summary |
|---|---|
| private final Comparator<BibEntry> entryComparator | |
| unresolvedComesFirst | back to summary |
|---|---|
| private final boolean unresolvedComesFirst | |
| CompareCitedReference | back to summary |
|---|---|
| pack-priv CompareCitedReference(Comparator<BibEntry> entryComparator, boolean unresolvedComesFirst) | |
| compare | back to summary |
|---|---|
| public int compare(ComparableCitedReference firstReference, ComparableCitedReference secondReference) 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 | |