Code example for Hashtable

Methods: getputremove

0
	 
	public String replaceSecondLevelField(int id, String fieldName) {
 
		String secondLevelId=createSecondLevelIdentifier(fieldName);
		 
		SecondLevelField scF=secLevFields.get(id);
		 
		TextView counter=scF.getCounter();
		 
		counter.setText("");
		 
    	secLevFields.remove(id);
 
		SecondLevelField sLF= new SecondLevelField(secondLevelId,counter);
		secLevFields.put(id,sLF);
		 
		return secondLevelId;
 
    	 
	} 
Stop searching for code, let great code find you!  Add Codota to your java IDE