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;
 
    	 
	} 
Contextual code suggestions in your IDE  Get Codota for Java