org.encog.bot.dataunit
Class TextDataUnit
- java.lang.Object
-
- org.encog.bot.dataunit.DataUnit
-
- org.encog.bot.dataunit.TextDataUnit
-
public class TextDataUnit extends DataUnit
A data unit that holds text.
-
-
Constructor Summary
Constructors Constructor and Description TextDataUnit()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringgetText()voidsetText(java.lang.String str)Set the text for this data unit.java.lang.StringtoString()
-
-
-
Method Detail
-
getText
public final java.lang.String getText()
- Returns:
- The text for this data unit.
-
setText
public final void setText(java.lang.String str)
Set the text for this data unit.- Parameters:
str- The text.
-
toString
public final java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-
DMelt 3.0 © DataMelt by jWork.ORG