I am trying to iterate over a list of maps in java, but I can not figure it out how. I need to keep the index as well.
for example, I have a list of maps like
List<Map<String, String>> ListOfMaps = new ArrayList<>();
and the output that I want is something like:
"ListOfMaps[index].map(k) => ListOfMaps[index].map(k).getValue()"
I appreciate if you can give me some hint how I can do it using java stream operators, with high performance.