net.ajaest.jdk.data.auxi
Class KanjiStringListEntry
java.lang.Object
net.ajaest.jdk.data.auxi.KanjiStringListEntry
- All Implemented Interfaces:
- KanjiReference
- Direct Known Subclasses:
- MeaningEntry, ReadingEntry
public class KanjiStringListEntry
- extends java.lang.Object
- implements KanjiReference
Generic immutable class that stores a list of String
associated to a
String
key in order to reference some of the kanji properties.
- Author:
- Luis Alfonso Arce González
Field Summary |
private java.util.List<java.lang.String> |
elements
|
private java.lang.String |
key
|
private java.lang.Integer |
unicodeRef
|
Constructor Summary |
KanjiStringListEntry(java.lang.String key,
java.util.List<java.lang.String> elements,
java.lang.Integer unicodeRef)
|
Method Summary |
java.util.List<java.lang.String> |
getElements()
Returns the immutable list of elements. |
java.lang.String |
getKey()
|
java.lang.Integer |
getUnicodeRef()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
unicodeRef
private java.lang.Integer unicodeRef
key
private java.lang.String key
elements
private java.util.List<java.lang.String> elements
KanjiStringListEntry
public KanjiStringListEntry(java.lang.String key,
java.util.List<java.lang.String> elements,
java.lang.Integer unicodeRef)
getElements
public java.util.List<java.lang.String> getElements()
- Returns the immutable list of elements. Read the constructor or class
info for further information about the meaning of "elements".
getKey
public java.lang.String getKey()
getUnicodeRef
public java.lang.Integer getUnicodeRef()
- Specified by:
getUnicodeRef
in interface KanjiReference
- Returns:
- the unicode value of the referenced kanji.