Hello , I have a List<String> and I want to compare in a loop the elements.
For example sth like :
for (int i=0;i<theList.size();i++){
while (theList.get(i).equals(theList.get(i+1)))
...
}
I want to compare the next to the previous entry.
Thanks