Map<String, String> textMap = new HashMap<String, String>();
textMap.put("keyA", "valueA");
textMap.put("keyB", "valueB");
Iterator iter = textMap.entrySet().iterator();
while (iter.hasNext())
{
Map.Entry entry = (Map.Entry) iter.next();
String inputName = (String) entry.getKey();
String inputValue = (String) entry.getValue();
if (inputValue == null)
{
continue;
}
}