I am having a Map and converting to charsequence[] by using the
final CharSequence[] treatmentNameList = treatmentListMap.keySet().toArray(new CharSequence[treatmentListMap.size()]);
but the value at position of charsequence[0] and map 0 is not is getting varied. how to get same values in both charsequence and map. i tried this also
final CharSequence[] treatmentNameList = treatmentListMap.keySet().toArray(new CharSequence[0]);