I am new to java programming, been programing in php so I\'m used to this type of loop:
int size = mapOverlays.size(); for(int n=1;n
I think it would be faster to create a new ArrayList with just the first element inside. something like :
E temp = mapOverlays.get(0); mapOverlays = new ArrayList().add(temp);