public class Text extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
List<Token> |
getTokens() |
String |
getValue() |
Text |
map(java.util.function.Function<Token,Token> mapping)
Returns a new text object with tokens mapped by the
mapper function. |
String |
toString() |
public Text(String value)
public String getValue()
public Text map(java.util.function.Function<Token,Token> mapping)
mapper
function.mapping
- the mapping functionCopyright © 2015. All Rights Reserved.