net.maizegenetics.analysis.data.MemoryUsagePlugin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tassel6 Show documentation
Show all versions of tassel6 Show documentation
TASSEL 6 is a software package to evaluate traits association. Feature Tables are at the heart of the package where, a feature is a range of positions or a single position. Row in the that table are taxon.
/*
* MemoryUsagePlugin
*
* Created on April 18, 2016
*/
package net.maizegenetics.analysis.data;
import net.maizegenetics.plugindef.AbstractPlugin;
import net.maizegenetics.plugindef.DataSet;
import net.maizegenetics.util.Sizeof;
/**
* @author Terry Casstevens
*/
public class MemoryUsagePlugin extends AbstractPlugin {
public MemoryUsagePlugin(boolean isInteractive) {
super(isInteractive);
}
@Override
public DataSet processData(DataSet input) {
Sizeof.printMemoryUse();
return input;
}
@Override
public String getButtonName() {
return "Memory Usage";
}
@Override
public String getToolTipText() {
return "Memory Usage";
}
}