| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final int | colStart
Record Component accessed by colStart(). |
| private static final int | CONTEXT_WIDTH
The total number of characters that are shown around a cite (cite width included). |
| private final int | |
| private final String | lineText
Record Component accessed by lineText(). |
| private final Path |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int | |
| public final boolean | equals(Object
the reference object with which to compare. o)Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public String | getContext()
Get a fixed-width string that contains a cite and the text that surrounds it along the same line. |
| public final int | |
| public int | |
| public String | |
| public Path | |
| public String | toString()
Implements abstract java. Returns a string representation of the record. |
| colEnd | back to summary |
|---|---|
| private final int colEnd Record Component accessed by colEnd(). | |
| colStart | back to summary |
|---|---|
| private final int colStart Record Component accessed by colStart(). | |
| CONTEXT_WIDTH | back to summary |
|---|---|
| private static final int CONTEXT_WIDTH The total number of characters that are shown around a cite (cite width included). | |
| line | back to summary |
|---|---|
| private final int line Record Component accessed by line(). | |
| lineText | back to summary |
|---|---|
| private final String lineText Record Component accessed by lineText(). | |
| path | back to summary |
|---|---|
| private final Path path Record Component accessed by path(). | |
| Citation | back to summary |
|---|---|
| public Citation(Path path, int line, int colStart, int colEnd, String lineText) | |
| colEnd | back to summary |
|---|---|
| public int colEnd() Record Component getter of colEnd. | |
| colStart | back to summary |
|---|---|
| public int colStart() Record Component getter of colStart. | |
| 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).
| |
| getContext | back to summary |
|---|---|
| public String getContext() Get a fixed-width string that contains a cite and the text that surrounds it along the same line. | |
| 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
| |
| line | back to summary |
|---|---|
| public int line() Record Component getter of line. | |
| lineText | back to summary |
|---|---|
| public String lineText() Record Component getter of lineText. | |
| path | back to summary |
|---|---|
| public Path path() Record Component getter of path. | |
| toString | back to summary |
|---|---|
| public 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. | |