Class UTF8Dictionary
java.lang.Object
com.github.tadukoo.util.dictionary.AbstractDictionary
com.github.tadukoo.util.dictionary.UTF8Dictionary
- All Implemented Interfaces:
Dictionary
Basic
Dictionary
class that supports the UTF-8
Charset.- Version:
- Alpha v.0.4
- Author:
- Logan Ferree (Tadukoo)
-
Constructor Summary
ConstructorDescriptionConstructs a new UTF-8 Dictionary that's emptyUTF8Dictionary
(Map<Character, Map<Character, ?>> map) Constructs a new UTF-8 Dictionary that contains the words in the given Map -
Method Summary
Methods inherited from class com.github.tadukoo.util.dictionary.AbstractDictionary
addWord, asMap, isValidWord, removeWord
-
Constructor Details
-
UTF8Dictionary
public UTF8Dictionary()Constructs a new UTF-8 Dictionary that's empty -
UTF8Dictionary
Constructs a new UTF-8 Dictionary that contains the words in the given Map- Parameters:
map
- The Map containing valid words for this Dictionary
-
-
Method Details
-
supportedCharset
- Returns:
- The
Charset
that this Dictionary supports
-