net.maizegenetics.util.AbstractTableReport Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tassel Show documentation
Show all versions of tassel Show documentation
TASSEL is a software package to evaluate traits associations, evolutionary patterns, and linkage
disequilibrium.
The newest version!
/*
* AbstractTableReport
*/
package net.maizegenetics.util;
/**
*
* @author Terry Casstevens
*/
public abstract class AbstractTableReport implements TableReport {
private long currentRowNumber = -1;
private Object[] currentRow = null;
@Override
public Object getValueAt(long row, int col) {
if (row != currentRowNumber) {
currentRowNumber = row;
currentRow = getRow(row);
}
return currentRow[col];
}
}