public final class Token extends Object implements Serializable, Cloneable, Comparable<Token>
| Modifier and Type | Method and Description |
|---|---|
Token |
clone() |
int |
compareTo(Token other) |
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
static Token |
valueOf(String value)
Create a new instance from the given string.
|
public int compareTo(Token other)
compareTo in interface Comparable<Token>public static Token valueOf(String value)
value - non-empty string valueNullPointerException - if value is nullIllegalArgumentException - if token is empty or contains whitespaceCopyright © 2014–2016. All rights reserved.