| Modifier and Type | Field and Description |
|---|---|
| private Integer | version
The version number of this document. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| 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 Integer | |
| public int | hashCode()
Overrides org. Returns a hash code value for this object. |
| public void | |
| public String | toString()
Overrides org. Returns a string representation of the object. |
| version | back to summary |
|---|---|
| private Integer version The version number of this document. If a versioned text document identifier is sent from the server to the client and the file is not open in the editor (the server has not received an open notification before) the server can send `null` to indicate that the version is known and the content on disk is the truth (as specified with document content ownership). | |
| VersionedTextDocumentIdentifier | back to summary |
|---|---|
| public VersionedTextDocumentIdentifier() | |
| VersionedTextDocumentIdentifier | back to summary |
|---|---|
| public VersionedTextDocumentIdentifier(final String uri, final Integer version) | |
| VersionedTextDocumentIdentifier | back to summary |
|---|---|
| public VersionedTextDocumentIdentifier(final Integer version)
Deprecated
| |
| 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.
| |
| getVersion | back to summary |
|---|---|
| public Integer getVersion() The version number of this document. If a versioned text document identifier is sent from the server to the client and the file is not open in the editor (the server has not received an open notification before) the server can send `null` to indicate that the version is known and the content on disk is the truth (as specified with document content ownership). | |
| 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
| |
| setVersion | back to summary |
|---|---|
| public void setVersion(final Integer version) The version number of this document. If a versioned text document identifier is sent from the server to the client and the file is not open in the editor (the server has not received an open notification before) the server can send `null` to indicate that the version is known and the content on disk is the truth (as specified with document content ownership). | |
| 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-
| |