private Integer iterateList() {
    Iterator iter = list.iterator();
    if (iter.hasNext()) {
      iter.next();
    }
    return list.size();
  }
This tests concurrent modification of IndexElemArray and to make sure elementData and size are
updated atomically. Ticket# GEODE-106.
geode-core/src/test/java/org/apache/geode/cache/query/internal/index/IndexElemArrayJUnitTest.java