I have created a method that return me a Map which is singleton Map as below
@Override
protected Map<String,String> getFavTypeCd()
{
final Map<String,String> favType = Collections.singletonMap("1","first");
return favType;
}
I was looking for a way , that I could extract the value for the above Map without iterating. Any ideas or suggestions.