Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## codeanticode.chatbots.eliza
Class Key

    java.lang.Object
      codeanticode.chatbots.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
`equals, 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.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

processing library chatbots by Andres Colubri. (c) 2008