public class Symbol extends Object implements Serializable
Constructor and Description |
---|
Symbol(String symbol)
Construct a new instance with the given symbol.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Will compare equal to a String that is equal to the String that this holds
|
String |
getSymbol()
Gets the symbol.
|
int |
hashCode() |
String |
toString() |
public Symbol(String symbol)
symbol
- the symbol