I\'m having trouble with what I thought should be a pretty simple problem.
I need to compare every item in an arrayList with every other item in the the list without com
for (int i = 0; i < list.size(); i++) { for (int j = i+1; j < list.size(); j++) { // compare list.get(i) and list.get(j) } }