| Modifier and Type | Field and Description |
|---|---|
| private String | newText
The string to be inserted. |
| private Range | range
The range of the text document to be manipulated. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(final Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public String | |
| public Range | |
| public int | |
| public void | |
| public void | |
| public String |
| newText | back to summary |
|---|---|
| private String newText The string to be inserted. For delete operations use an empty string. | |
| range | back to summary |
|---|---|
| private Range range The range of the text document to be manipulated. To insert text into a document create a range where start === end. | |
| TextEdit | back to summary |
|---|---|
| public TextEdit() | |
| TextEdit | back to summary |
|---|---|
| public TextEdit(final Range range, final String newText) | |
| equals | back to summary |
|---|---|
| public boolean equals(final Object obj) Overrides java. 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.
| |
| getNewText | back to summary |
|---|---|
| public String getNewText() The string to be inserted. For delete operations use an empty string.
| |
| getRange | back to summary |
|---|---|
| public Range getRange() The range of the text document to be manipulated. To insert text into a document create a range where start === end.
| |
| 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
| |
| setNewText | back to summary |
|---|---|
| public void setNewText(final String newText) The string to be inserted. For delete operations use an empty string. | |
| setRange | back to summary |
|---|---|
| public void setRange(final Range range) The range of the text document to be manipulated. To insert text into a document create a range where start === end. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |