net.ajaest.jdk.data.kanji
Class DicReferencePair

java.lang.Object
  extended by net.ajaest.jdk.data.auxi.KanjiStringPair
      extended by 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)
           
 
Method Summary
 java.lang.Integer getNumReference()
           
 
Methods inherited from class net.ajaest.jdk.data.auxi.KanjiStringPair
getFirst, getSecond, getUnicodeRef
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numRef

private java.lang.Integer numRef
Constructor Detail

DicReferencePair

public DicReferencePair(java.lang.String first,
                        java.lang.String second,
                        java.lang.Integer numRef,
                        java.lang.Integer unicodeRef)
Parameters:
first - Dictionary name
second - Dictionary reference
numRef - numeric representation of the Dictionary reference(used to search)
unicodeRef - Referenced kanji
Method Detail

getNumReference

public java.lang.Integer getNumReference()
Returns:
the numeric representation of the reference