net.chayden.eliza
Class Key

java.lang.Object
  |
  +--net.chayden.eliza.Key

public class Key
extends java.lang.Object

Eliza key. A key has the key itself, a rank, and a list of decompositon rules.


Method Summary
 void copy(Key k)
           
 DecompList decomp()
          Get the decomposition list.
 java.lang.String key()
          Get the key value.
 void print(int indent)
          Print the key and all under it.
 void printKey(int indent)
          Print the key and rank only, not the rest.
 int rank()
          Get the rank.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

copy

public void copy(Key k)

print

public void print(int indent)
Print the key and all under it.


printKey

public void printKey(int indent)
Print the key and rank only, not the rest.


key

public java.lang.String key()
Get the key value.


rank

public int rank()
Get the rank.


decomp

public DecompList decomp()
Get the decomposition list.