|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.vt.middleware.dictionary.TernaryNode
public class TernaryNode
TernaryNode is an implementation of a node contained in a
ternary tree.
| Constructor Summary | |
|---|---|
TernaryNode(char c)
This will create a new TernaryNode with the supplied
character. |
|
| Method Summary | |
|---|---|
TernaryNode |
getEqkid()
This returns the eqkid of this TernaryNode. |
TernaryNode |
getHikid()
This returns the hikid of this TernaryNode. |
TernaryNode |
getLokid()
This returns the lokid of this TernaryNode. |
char |
getSplitChar()
This returns the splitchar of this TernaryNode. |
boolean |
isEndOfWord()
This returns the endOfWord for this TernaryNode. |
void |
setEndOfWord(boolean b)
This sets the endOfWord for this TernaryNode. |
void |
setEqkid(TernaryNode node)
This sets the eqkid of this TernaryNode. |
void |
setHikid(TernaryNode node)
This sets the hikid of this TernaryNode. |
void |
setLokid(TernaryNode node)
This sets the lokid of this TernaryNode. |
void |
setSplitChar(char c)
This sets the splitchar for this TernaryNode. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TernaryNode(char c)
TernaryNode with the supplied
character.
c - char| Method Detail |
|---|
public char getSplitChar()
TernaryNode.
charpublic void setSplitChar(char c)
TernaryNode.
c - charpublic boolean isEndOfWord()
TernaryNode.
booleanpublic void setEndOfWord(boolean b)
TernaryNode.
b - booleanpublic TernaryNode getLokid()
TernaryNode.
TernaryNodepublic void setLokid(TernaryNode node)
TernaryNode.
node - TernaryNodepublic TernaryNode getEqkid()
TernaryNode.
TernaryNodepublic void setEqkid(TernaryNode node)
TernaryNode.
node - TernaryNodepublic TernaryNode getHikid()
TernaryNode.
TernaryNodepublic void setHikid(TernaryNode node)
TernaryNode.
node - TernaryNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||