public final class SymbolTable extends Object implements Serializable
RedPen
.Modifier and Type | Method and Description |
---|---|
boolean |
containsSymbolByValue(char value)
Detect the specified character is exit in the dictionary.
|
boolean |
equals(Object o) |
String |
getLang() |
Set<SymbolType> |
getNames()
Get the character names in the dictionary.
|
Symbol |
getSymbol(SymbolType name)
Get the character specified with the name.
|
Symbol |
getSymbolByValue(char value)
Get the character specified with the value.
|
char |
getValueOrFallbackToDefault(SymbolType type)
Detect the specified character is exit in the dictionary.
|
int |
hashCode() |
void |
overrideSymbol(Symbol symbol)
Override a symbol with a new definition
|
String |
toString() |
public void overrideSymbol(Symbol symbol)
symbol
- public Set<SymbolType> getNames()
public Symbol getSymbol(SymbolType name)
name
- character namepublic Symbol getSymbolByValue(char value)
value
- character namepublic char getValueOrFallbackToDefault(SymbolType type)
type
- character namepublic boolean containsSymbolByValue(char value)
value
- character valuepublic String getLang()
Copyright © 2015. All rights reserved.