Class UTF16Dictionary
java.lang.Object
com.github.tadukoo.util.dictionary.AbstractDictionary
com.github.tadukoo.util.dictionary.UTF16Dictionary
- All Implemented Interfaces:
Dictionary
Basic
Dictionary
class that supports the UTF-16
Charset.- Version:
- Alpha v.0.4
- Author:
- Logan Ferree (Tadukoo)
-
Constructor Summary
ConstructorDescriptionConstructs a new UTF-16 Dictionary that's emptyUTF16Dictionary
(Map<Character, Map<Character, ?>> map) Constructs a new UTF-16 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
-
UTF16Dictionary
public UTF16Dictionary()Constructs a new UTF-16 Dictionary that's empty -
UTF16Dictionary
Constructs a new UTF-16 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
-