@@ -0,0 +1,1345 @@
+package imagej.core.commands.debug;%0A%0Aimport imagej.command.Command;%0Aimport imagej.data.table.DefaultResultsTable;%0Aimport imagej.data.table.ResultsTable;%0Aimport imagej.module.ItemIO;%0Aimport imagej.plugin.Parameter;%0Aimport imagej.plugin.Plugin;%0A%0A/** A test of %7B@link ResultsTable%7D. */%0A@Plugin(menuPath = %22Plugins%3ESandbox%3EResults Table Test%22, headless = true)%0Apublic class ResultsTableTest implements Command %7B%0A%0A%09@Parameter(label = %22Paul Molitor%22, type = ItemIO.OUTPUT)%0A%09private ResultsTable table;%0A%0A%09@Override%0A%09public void run() %7B%0A%09%09// Paul Molitor%0A%09%09final double%5B%5D%5B%5D data = %7B%0A%09%09%09%7B1978, 21, .273%7D,%0A%09%09%09%7B1979, 22, .322%7D,%0A%09%09%09%7B1980, 23, .304%7D,%0A%09%09%09%7B1981, 24, .267%7D,%0A%09%09%09%7B1982, 25, .302%7D,%0A%09%09%09%7B1983, 26, .270%7D,%0A%09%09%09%7B1984, 27, .217%7D,%0A%09%09%09%7B1985, 28, .297%7D,%0A%09%09%09%7B1986, 29, .281%7D,%0A%09%09%09%7B1987, 30, .353%7D,%0A%09%09%09%7B1988, 31, .312%7D,%0A%09%09%09%7B1989, 32, .315%7D,%0A%09%09%09%7B1990, 33, .285%7D,%0A%09%09%09%7B1991, 34, .325%7D,%0A%09%09%09%7B1992, 35, .320%7D,%0A%09%09%09%7B1993, 36, .332%7D,%0A%09%09%09%7B1994, 37, .341%7D,%0A%09%09%09%7B1995, 38, .270%7D,%0A%09%09%09%7B1996, 39, .341%7D,%0A%09%09%09%7B1997, 40, .305%7D,%0A%09%09%09%7B1998, 41, .281%7D,%0A%09%09%7D;%0A%09%09table = new DefaultResultsTable(data%5B0%5D.length, data.length);%0A%09%09table.setColumnHeader(%22Year%22, 0);%0A%09%09table.setColumnHeader(%22Age%22, 1);%0A%09%09table.setColumnHeader(%22BA%22, 2);%0A%09%09for (int row=0; row%3Cdata.length; row++) %7B%0A%09%09%09for (int col=0; col%3Cdata%5Brow%5D.length; col++) %7B%0A%09%09%09%09table.setValue(data%5Brow%5D%5Bcol%5D, col, row);%0A%09%09%09%7D%0A%09%09%7D%0A%09%7D%0A%0A%7D%0A

Add a test plugin for results tables