Code example for Hashtable

Methods: containsKeyget

0
	 *  
	 * @return	Flag indicating if current row has been marked as 'selected'. 
	 */ 
	public boolean getIsSelected() { 
		Long id = getId();
		if (m_selections.containsKey(id)) {
			return m_selections.get(id);			
		} else { 
			return false; 
		} 
	} 
 
	public void setIsSelected(boolean selected) {
		m_selections.put(getId(), selected);
	} 
	 
	/** 
	 * Get the row ID; need a local implementation so that get/setSelected() works. 
	 */ 
	private int mIdCol = -2;
	public final long getId() {