All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.maizegenetics.util.AbstractTableReport Maven / Gradle / Ivy

Go to download

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];
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy