treecalc.comp
Class GenTable
java.lang.Object
treecalc.comp.GenTable
public class GenTable
- extends java.lang.Object
Class that is filled up and prepared before generating code
- Author:
- Stefan
Constructor Summary |
GenTable(java.lang.String name,
int index,
TcAst ast)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenTable
public GenTable(java.lang.String name,
int index,
TcAst ast)
getIndex
public int getIndex()
getAst
public TcAst getAst()
getNumrows
public int getNumrows()
getNumcols
public int getNumcols()
addRow
public void addRow(java.lang.Object[] valuesRow)
setColnames
public void setColnames(java.lang.String[] colnames)
getName
public java.lang.String getName()
getColnames
public java.lang.String[] getColnames()
getData
public java.lang.String[][] getData()
getDataObjects
public java.lang.Object[][] getDataObjects()
setData
public void setData(java.lang.String[][] data)
getColnumeric
public boolean[] getColnumeric()
getColnumericsuper
public boolean[] getColnumericsuper()
getColnumericunique
public boolean[] getColnumericunique()
sortAndFill
public void sortAndFill()
- sorts the data and fills up informational fields
You have to call that function before seriously using it for generation stuff
isShuffled
public boolean isShuffled()
isDirectAccess
public boolean isDirectAccess()
getDirectAccessOffset
public int getDirectAccessOffset()
getRowindori
public int[] getRowindori()
- Returns:
- original ordering of the data rows
getColindex
public int getColindex(java.lang.String name)
Copyright © 2013. All Rights Reserved.