| Modifier and Type | Field and Description |
|---|---|
| public final BibDatabase | |
| public final BibEntry |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object otherObject)
Overrides java. Consequently, |
| public int |
| database | back to summary |
|---|---|
| public final BibDatabase database | |
| entry | back to summary |
|---|---|
| public final BibEntry entry | |
| CitationLookupResult | back to summary |
|---|---|
| public CitationLookupResult(@NonNull BibEntry entry, @NonNull BibDatabase database) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object otherObject) Overrides java. Note BibEntry overrides Object.equals, but BibDatabase does not. Consequently, Since within each GUI call we use a fixed list of databases, it is OK. CitationLookupResult.equals is used in CitedReference.addPath to check the added Citation refers to the same source as the others. As long as we look up each citation key only once (in CitationGroups.lookupCitations), the default implementation for equals would be sufficient (and could also omit hashCode below).
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |