net.sf.jlinkgrammar

## Class XNode

- java.lang.Object
- - net.sf.jlinkgrammar.XNode

-     public class XNode
      extends java.lang.Object

  This is a hyponym or synonym class the X is for expression. Sentence.build_word_expressions(String s)looks up the word s in the dictionary. Returns NULL if it's not there. If there, it builds the list of expressions for the word, and returns a pointer to it. This class is included in the Word class attribute Word.x TODO - perhaps this could be used to store an english equivilent?

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `Exp` | `exp` an equivilent expression
    `XNode` | `next` link to next equivilent expresion.
    `java.lang.String` | `string` the word itself

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `XNode()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `(package private) static XNode` | `catenate_XNodes(XNode d1, XNode d2)` Destructively catenates the two disjunct lists d1 followed by d2.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### string

          public java.lang.String string

      the word itself

    - #### exp

          public Exp exp

      an equivilent expression

    - #### next

          public XNode next

      link to next equivilent expresion. List terminates with null

  - ### Constructor Detail

    - #### XNode

          public XNode()

  - ### Method Detail

    - #### catenate_XNodes

          static XNode catenate_XNodes(XNode d1,
                              XNode d2)

      Destructively catenates the two disjunct lists d1 followed by d2. Doesn't change the contents of the disjuncts Traverses the first list, but not the second