org.encog.bot.dataunit
Class CodeDataUnit

java.lang.Object
  extended by org.encog.bot.dataunit.DataUnit
      extended by 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


Copyright © 2014. All Rights Reserved.