|
Lvg Java 2006p Version |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nih.nlm.nls.lvg.Lib.TermCatKey
public class TermCatKey
This class provides key for derivational LexItem used in recursively derivational flow. This overrides the hashcode() and equals() for using hashtable and hashSet.
History:
| Constructor Summary | |
|---|---|
TermCatKey(java.lang.String term,
int category)
Create a key object, using a specified term and category |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object anObject)
|
int |
GetCategory()
Get the category value of this object |
java.lang.String |
GetTerm()
Get the term of this object |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TermCatKey(java.lang.String term,
int category)
| Method Detail |
|---|
public java.lang.String GetTerm()
public int GetCategory()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object anObject)
equals in class java.lang.Object
|
Lvg Java 2006p Version |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||