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

jadex.extension.envsupport.evaluation.DataTable Maven / Gradle / Ivy

Go to download

The Jadex kernel extension envsupport allows for using 2D spaces in concert with components.

There is a newer version: 3.0.117
Show newest version
package jadex.extension.envsupport.evaluation;

import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 *  Basic data structure for all collected data.
 */
public class DataTable
{
	//-------- attributes --------
	
	/** The table name. */
	protected String name;
	
	/** The table column names. */
	protected String[] columnnames;
	
	/** The data rows. */
	protected List rows;
	
	/** The map of column indices. */
	protected Map columns;

	//-------- constructors --------
	
	/**
	 *  Create a new data table. 
	 */
	public DataTable(String name, String[] columnnames)
	{
		this.name = name;
		this.columnnames = columnnames;
		this.columns = new HashMap();
		for(int i=0; i




© 2015 - 2024 Weber Informatics LLC | Privacy Policy