weka.datagenerators
Class TextSource.Table
java.lang.Object
weka.datagenerators.TextSource.Table
- Enclosing class:
- TextSource
- public class TextSource.Table
- extends java.lang.Object
Table that allows incremental addition of attributes.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_ts
protected TextSource m_ts
m_attribs
protected FastVector m_attribs
m_format
protected Instances m_format
m_data
protected java.util.LinkedList m_data
m_nIndex
protected int m_nIndex
m_it
protected java.util.ListIterator m_it
TextSource.Table
public TextSource.Table(TextSource ts)
add
public void add(TextSource.DataRow vector)
addAttribute
public void addAttribute(Attribute attrib)
makeDataFormat
public Instances makeDataFormat()
throws java.lang.Exception
- Throws:
java.lang.Exception
getNextInstance
public Instance getNextInstance()