Code example for LinkedHashMap

Methods: keySetvalues

0
	 * Map used for storing column/name combinations 
	 * @param columns 
	 */ 
	public void setColumns(LinkedHashMap<String,String> columns) {
		this.columns = columns;
		names  = columns.values().toArray(new String[columns.keySet().size()]);
	} 
	 
	/* (non-Javadoc) 
	 * @see ca.odell.glazedlists.gui.TableFormat#getColumnCount() 
	 */ 
	public int getColumnCount() { 
		return columns.size();
	} 
 
	/* (non-Javadoc) 
	 * @see ca.odell.glazedlists.gui.TableFormat#getColumnName(int) 
	 */ 
	public String getColumnName(int i) {
		return names[i];
Stop searching for code, let great code find you!  Add Codota to your java IDE