| Modifier and Type | Field and Description |
|---|---|
| pack-priv final List | |
| pack-priv final String |
| Access | Constructor and Description |
|---|---|
| public | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public List | |
| public String | |
| public Text | |
| public String |
| tokens | back to summary |
|---|---|
| pack-priv final List<Token> tokens | |
| value | back to summary |
|---|---|
| pack-priv final String value | |
| Text | back to summary |
|---|---|
| public Text(String value) | |
| Text | back to summary |
|---|---|
| private Text(String value, List<Token> tokens) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) 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.
| |
| getTokens | back to summary |
|---|---|
| public List | |
| getValue | back to summary |
|---|---|
public String getValue()
| |
| map | back to summary |
|---|---|
| public Text map(Function<Token, Token> mapping) Returns a new text object with tokens mapped by the | |
| 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- | |