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(@NonNull Alphabet alphabet)
public Alphabet getAlphabet()
public String getSymbol()
public void setSymbol(@NonNull String symbol)
symbol
- the actual symbol.public int hashCode()
hashCode
in class AbstractValue
public boolean equals(Object obj)
equals
in class AbstractValue
Copyright (C) 2016-2018 Benjamin Paaßen, AG Theoretical Computer Science, Centre of Excellence Cognitive Interaction Technology (CITEC), University of Bielefeld, licensed under the AGPL v. 3: http://openresearch.cit-ec.de/projects/tcs . This documentation is licensed under the conditions of CC-BY-SA 4.0: https://creativecommons.org/licenses/by-sa/4.0/