net.ajaest.jdk.data.kanji
Class DicReferencePair
java.lang.Object
net.ajaest.jdk.data.auxi.KanjiStringPair
net.ajaest.jdk.data.kanji.DicReferencePair
- All Implemented Interfaces:
- KanjiReference
public class DicReferencePair
- extends KanjiStringPair
Immutable representation of a kanji dictionary entry information.
- Author:
- Luis Alfonso Arce González
Field Summary |
private java.lang.Integer |
numRef
|
Constructor Summary |
DicReferencePair(java.lang.String first,
java.lang.String second,
java.lang.Integer numRef,
java.lang.Integer unicodeRef)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
numRef
private java.lang.Integer numRef
DicReferencePair
public DicReferencePair(java.lang.String first,
java.lang.String second,
java.lang.Integer numRef,
java.lang.Integer unicodeRef)
- Parameters:
first
- Dictionary namesecond
- Dictionary referencenumRef
- numeric representation of the Dictionary reference(used to
search)unicodeRef
- Referenced kanji
getNumReference
public java.lang.Integer getNumReference()
- Returns:
- the numeric representation of the reference