Ive got a collection with values
Object[0]= hashmap(k,v)
Object[1]= hashmap(k,v)
Object[2]= hashmap(k,v)
Object[3]= hashmap(k,v)
Object[4]= hashmap(k,v)
i terated this collection and deleted object[1]. then when i iterate again i get the following exception.
java.util.ConcurrentModificationException
i want to delete elements till Object[3].
how do i do this
please help