edu.vt.middleware.dictionary
Class TernaryNode

java.lang.Object
  extended by edu.vt.middleware.dictionary.TernaryNode

public class TernaryNode
extends java.lang.Object

TernaryNode is an implementation of a node contained in a ternary tree.

Version:
$Revision: 1700 $ $Date: 2010-10-27 16:08:24 -0400 (Wed, 27 Oct 2010) $
Author:
Middleware Services

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

TernaryNode

public TernaryNode(char c)
This will create a new TernaryNode with the supplied character.

Parameters:
c - char
Method Detail

getSplitChar

public char getSplitChar()
This returns the splitchar of this TernaryNode.

Returns:
char

setSplitChar

public void setSplitChar(char c)
This sets the splitchar for this TernaryNode.

Parameters:
c - char

isEndOfWord

public boolean isEndOfWord()
This returns the endOfWord for this TernaryNode.

Returns:
boolean

setEndOfWord

public void setEndOfWord(boolean b)
This sets the endOfWord for this TernaryNode.

Parameters:
b - boolean

getLokid

public TernaryNode getLokid()
This returns the lokid of this TernaryNode.

Returns:
TernaryNode

setLokid

public void setLokid(TernaryNode node)
This sets the lokid of this TernaryNode.

Parameters:
node - TernaryNode

getEqkid

public TernaryNode getEqkid()
This returns the eqkid of this TernaryNode.

Returns:
TernaryNode

setEqkid

public void setEqkid(TernaryNode node)
This sets the eqkid of this TernaryNode.

Parameters:
node - TernaryNode

getHikid

public TernaryNode getHikid()
This returns the hikid of this TernaryNode.

Returns:
TernaryNode

setHikid

public void setHikid(TernaryNode node)
This sets the hikid of this TernaryNode.

Parameters:
node - TernaryNode


Copyright © 2003-2010 Virginia Tech. All Rights Reserved.