public class RadicalMap
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.util.Set |
getChars(char ch)
What are the Characters with this primary radical?
|
static char |
getRadical(char ch)
What is the primary radical of this char?
|
static void |
main(java.lang.String[] args)
The main function reads a list of characters and outputs the list with corresponding
radicals.
|
public static char getRadical(char ch)
ch
- a Chinese characterpublic static java.util.Set getChars(char ch)
ch
- a Chinese character, interpreted as a radicalpublic static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException