public class SymbolicValue extends AbstractValue
Constructor and Description |
---|
SymbolicValue(Alphabet alphabet) |
SymbolicValue(Alphabet alphabet,
String symbol) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Alphabet |
getAlphabet()
Returns the Alphabet that defines which symbols are allowed for this
keyword.
|
String |
getSymbol()
Returns this actual symbol.
|
int |
hashCode() |
void |
setSymbol(String symbol)
Sets the actual symbol.
|
String |
toString() |
getType
public SymbolicValue(Alphabet alphabet)
public Alphabet getAlphabet()
public String getSymbol()
public void setSymbol(String symbol)
symbol
- the actual symbol.public int hashCode()
hashCode
in class AbstractValue
public boolean equals(Object obj)
equals
in class AbstractValue
Copyright © 2014. All rights reserved.