| Modifier and Type | Class and Description |
|---|---|
| public static record | |
| public static record |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public BibliographyConsistencyCheck. | check(BibDatabaseContext bibContext, BibEntryTypesManager bibEntryTypesManager, BiConsumer<Integer, Integer> entriesGroupingProgress)
Checks the consistency of the given entries by looking at the present and absent fields. |
| private static void | |
| pack-priv List | |
| private static Set |
| EXPLICITLY_EXCLUDED_FIELDS | back to summary |
|---|---|
| private static final Set<Field> EXPLICITLY_EXCLUDED_FIELDS | |
| BibliographyConsistencyCheck | back to summary |
|---|---|
| public BibliographyConsistencyCheck() | |
| check | back to summary |
|---|---|
| public BibliographyConsistencyCheck. Checks the consistency of the given entries by looking at the present and absent fields. Computation takes place grouped by each entryType. Computes the fields set in all entries. In case entries of the same type has more fields defined, it is output. This class does check if required fields are set for an entry type but does not check if the fields are valid for the entry type. That result can a) be retrieved by using the JabRef UI and b) by checking the CSV output of Implementation Note This class does not implement | |
| collectEntriesIntoMaps | back to summary |
|---|---|
| private static void collectEntriesIntoMaps(BibDatabaseContext bibContext, Map<EntryType, Set<Field>> entryTypeToFieldsInAnyEntryMap, Map<EntryType, Set<Field>> entryTypeToFieldsInAllEntriesMap, Map<EntryType, Set<BibEntry>> entryTypeToEntriesMap) | |
| filterAndSortEntriesWithFieldDifferences | back to summary |
|---|---|
| pack-priv List Filters the given entries to those that violate consistency:
Additionally, the entries are sorted
| |
| filterExcludedFields | back to summary |
|---|---|
| private static Set | |
| Modifier and Type | Field and Description |
|---|---|
| private final Collection | |
| private final SequencedCollection | sortedEntries
Record Component accessed by sortedEntries(). |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public Collection | |
| public final int | |
| public SequencedCollection | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| fields | back to summary |
|---|---|
| private final Collection<Field> fields Record Component accessed by fields(). | |
| sortedEntries | back to summary |
|---|---|
| private final SequencedCollection<BibEntry> sortedEntries Record Component accessed by sortedEntries(). | |
| EntryTypeResult | back to summary |
|---|---|
| public EntryTypeResult(Collection<Field> fields, SequencedCollection<BibEntry> sortedEntries) | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| fields | back to summary |
|---|---|
| public Collection Record Component getter of fields. | |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| sortedEntries | back to summary |
|---|---|
| public SequencedCollection Record Component getter of sortedEntries. | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |
| Modifier and Type | Field and Description |
|---|---|
| private final Map | entryTypeToResultMap
Record Component accessed by entryTypeToResultMap(). |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Map | |
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| entryTypeToResultMap | back to summary |
|---|---|
| private final Map<EntryType, BibliographyConsistencyCheck. Record Component accessed by entryTypeToResultMap(). | |
| Result | back to summary |
|---|---|
| public Result(Map<EntryType, BibliographyConsistencyCheck. | |
| entryTypeToResultMap | back to summary |
|---|---|
| public Map Record Component getter of entryTypeToResultMap. | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |