|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.ajaest.jdk.data.kanji.KanjiTag
net.ajaest.jdk.data.kanji.Kanji
public class Kanji
Mutable class that stores some different informations about a kanji
Field Summary | |
---|---|
private static long |
serialVersionUID
|
Fields inherited from class net.ajaest.jdk.data.kanji.KanjiTag |
---|
classicRad, dicReferences, frequency, grade, graph, jisCode, JLPTLevel, meanings, nelsonRadical, queryCodes, readings, strokeCount, strokeMiscounts, unicode, variants |
Constructor Summary | |
---|---|
Kanji(char[] c)
Constructs a kanji extracting the code point of the stored char
in the position 0 of the char array. |
|
Kanji(java.lang.Character c)
Constructs a kanji from a character representation of a kanji. |
|
Kanji(int unicodeRef)
Constructs a kanji by his unicode value, that will be used as primary key. |
|
Kanji(java.lang.Integer unicodeRef)
Constructs a kanji by his unicode value, that will be used as primary key. |
Method Summary | |
---|---|
java.util.Set<DicReferencePair> |
getDicReferences()
The returned list is not immutable like in KanjiTag |
java.util.Set<MeaningEntry> |
getMeanings()
The returned list is not immutable like in KanjiTag |
java.util.Set<ReadingEntry> |
getReadings()
|
java.util.Set<java.lang.Integer> |
getStrokeMiscounts()
The returned list is not immutable like in KanjiTag |
java.util.Set<VariantPair> |
getVariants()
The returned list is not immutable like in KanjiTag |
void |
setClassicRadical(RadicalTag rad)
|
void |
setDicReferences(java.util.Set<DicReferencePair> drp)
|
void |
setFrequency(java.lang.Integer frequency)
|
void |
setGrade(java.lang.Integer grade)
|
void |
setGraph(KanjiGraph graph)
|
void |
setJisCode(JISPair jisCode)
|
void |
setJLPTLevel(java.lang.Integer jLPTLevel)
|
void |
setMeanings(java.util.Set<MeaningEntry> men)
|
void |
setNelsonRadical(java.lang.Integer nelsonRadical)
|
void |
setQueryCodes(KanjiQueryCodes queryCodes)
|
void |
setReadings(java.util.Set<ReadingEntry> res)
|
void |
setStrokeCount(java.lang.Integer strokeCount)
|
void |
setStrokeMiscounts(java.util.Set<java.lang.Integer> strokeMis)
|
void |
setVariants(java.util.Set<VariantPair> var)
|
Methods inherited from class net.ajaest.jdk.data.kanji.KanjiTag |
---|
compareTo, equals, formattedDescriptionString, getByEnum, getByEnum, getClassicRadical, getFrequency, getGrade, getGraph, getJisCode, getJLPTLevel, getNelsonRadical, getQueryCodes, getStrokeCount, getUnicodeRef, hashCode, isKanji, kanaToRomaji, toChar, toRomaji, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
Constructor Detail |
---|
public Kanji(char[] c)
char
in the position 0 of the char
array. It work with surrogates.
c
- char
representation of a kanji.
java.lang.IllegalArgumentException
- If thepublic Kanji(java.lang.Character c)
c
- kanji characterpublic Kanji(int unicodeRef)
public Kanji(java.lang.Integer unicodeRef)
Method Detail |
---|
public java.util.Set<DicReferencePair> getDicReferences()
getDicReferences
in class KanjiTag
public void setFrequency(java.lang.Integer frequency)
public void setClassicRadical(RadicalTag rad)
public void setGrade(java.lang.Integer grade)
public void setGraph(KanjiGraph graph)
public void setJisCode(JISPair jisCode)
public void setJLPTLevel(java.lang.Integer jLPTLevel)
public java.util.Set<MeaningEntry> getMeanings()
getMeanings
in class KanjiTag
public void setNelsonRadical(java.lang.Integer nelsonRadical)
public void setQueryCodes(KanjiQueryCodes queryCodes)
public java.util.Set<ReadingEntry> getReadings()
getReadings
in class KanjiTag
public void setStrokeCount(java.lang.Integer strokeCount)
public java.util.Set<java.lang.Integer> getStrokeMiscounts()
getStrokeMiscounts
in class KanjiTag
public java.util.Set<VariantPair> getVariants()
getVariants
in class KanjiTag
public void setStrokeMiscounts(java.util.Set<java.lang.Integer> strokeMis)
public void setDicReferences(java.util.Set<DicReferencePair> drp)
public void setReadings(java.util.Set<ReadingEntry> res)
public void setMeanings(java.util.Set<MeaningEntry> men)
public void setVariants(java.util.Set<VariantPair> var)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |