Since 3.15.0
| Modifier and Type | Field and Description |
|---|---|
| private Either | workDoneToken
An optional token that a server can use to report work done progress. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | TextDocumentPositionAndWorkDoneProgressParams(final TextDocumentIdentifier textDocument, final Position position)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(final Object obj)
Overrides org. Indicates whether some other object is "equal to" this one. |
| public Either | getWorkDoneToken()
Implements org. An optional token that a server can use to report work done progress. |
| public int | hashCode()
Overrides org. Returns a hash code value for this object. |
| public void | setWorkDoneToken(final Either<String, Integer> workDoneToken)
Implements org. An optional token that a server can use to report work done progress. |
| public void | |
| public void | |
| public String | toString()
Overrides org. Returns a string representation of the object. |
| workDoneToken | back to summary |
|---|---|
| private Either<String, Integer> workDoneToken An optional token that a server can use to report work done progress. | |
| TextDocumentPositionAndWorkDoneProgressParams | back to summary |
|---|---|
| public TextDocumentPositionAndWorkDoneProgressParams() | |
| TextDocumentPositionAndWorkDoneProgressParams | back to summary |
|---|---|
| public TextDocumentPositionAndWorkDoneProgressParams(final TextDocumentIdentifier textDocument, final Position position) | |
| equals | back to summary |
|---|---|
| public boolean equals(final Object obj) Overrides org. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getWorkDoneToken | back to summary |
|---|---|
| public Either Implements org. An optional token that a server can use to report work done progress.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides org. 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
| |
| setWorkDoneToken | back to summary |
|---|---|
| public void setWorkDoneToken(final Either<String, Integer> workDoneToken) Implements org. An optional token that a server can use to report work done progress. | |
| setWorkDoneToken | back to summary |
|---|---|
| public void setWorkDoneToken(final String workDoneToken) | |
| setWorkDoneToken | back to summary |
|---|---|
| public void setWorkDoneToken(final Integer workDoneToken) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |