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

fr.profi.mzdb.util.sqlite.SQLiteResultDescriptor Maven / Gradle / Ivy

There is a newer version: 0.0.27
Show newest version
package fr.profi.mzdb.util.sqlite;

import java.util.HashMap;

public class SQLiteResultDescriptor {

	protected HashMap colIdxByColName = new HashMap();

	public SQLiteResultDescriptor(HashMap colIdxByColName) {
		super();
		this.colIdxByColName = colIdxByColName;
	}

	public HashMap getColIdxByColName() {
		return colIdxByColName;
	}

	public int getColumnIndex(String colName) {
		return this.colIdxByColName.get(colName);
	}

	public String[] getColumnNames() {
		return this.colIdxByColName.keySet().toArray(new String[this.colIdxByColName.size()]);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy