Serializable
public class Symbol extends Object implements Serializable
Constructor | Description |
---|---|
Symbol(String symbol) |
Construct a new instance with the given symbol.
|
Modifier and Type | Method | 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