public final class TokenValue extends Object implements Comparable
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_DELIMITER |
String |
delimitedToken |
String |
postDelimiter |
String |
preDelimiter |
String |
token |
String |
value |
| Constructor and Description |
|---|
TokenValue(String token,
String value)
Creates a new instance of TokenValue - with default delimiter.
|
TokenValue(String token,
String value,
String delimiter) |
TokenValue(String token,
String value,
String preDelimiter,
String postDelimiter) |
TokenValue(TokenValue other) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object other) |
boolean |
equals(Object other) |
int |
hashCode() |
String |
toString() |
public final String token
public final String value
public final String preDelimiter
public final String postDelimiter
public final String delimitedToken
public static final String DEFAULT_DELIMITER
public TokenValue(String token, String value)
token - a String that is the name of the token in this TokenValue.value - a String that is the value of the token.IllegalArgumentException - in case of null values.TokenValue(java.lang.String, java.lang.String, java.lang.String),
DEFAULT_DELIMITERpublic TokenValue(TokenValue other)
public int compareTo(Object other)
compareTo in interface ComparableCopyright © 2017–2020 Eclipse Foundation. All rights reserved.