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

## org.encog.bot.dataunit
Class CodeDataUnit

    java.lang.Object
      org.encog.bot.dataunit.DataUnit
          org.encog.bot.dataunit.CodeDataUnit

    public class CodeDataUnit

extends DataUnit

A data unit that holds code.

Author:
  jheaton

Constructor Summary
`CodeDataUnit()`

Method Summary
`String` | `getCode()`
`void` | `setCode(String str)` Set the code to the specified string.
`String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### CodeDataUnit

    public CodeDataUnit()

Method Detail

### getCode

    public final String getCode()

  Returns:
    THe code for this data unit.

### setCode

    public final void setCode(String str)

  Set the code to the specified string.

  Parameters:
    `str` - The new code.

### toString

    public final String toString()

  Overrides:
    `toString` in class `Object`

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

Copyright © 2011. All Rights Reserved.