I have Avro generated Map that is with Map<CharSequence, CharSequence> type. But my existing method requires Map<String, String> parameter. How can I change Map<CharSequence, CharSequence> to Map<String, String> parameter?
public void someMethod(AvroType avroGenObj){
myMapMethod(avroGenObj.getInput()) // compile error as getInput returns Map<CharSequence, CharSequence>
}
private void myMapMethod(Map<String, String> map){
// to something
}