public boolean hasNext() {
        if (intIt.hasNext()) {
          return true;
        } else {
          doingInt = false;
          return longIt.hasNext();
        }
      }
Mpa of OplogEntryIds (longs). Memory is optimized by using an int[] for ids in the unsigned int
range.
geode-core/src/main/java/org/apache/geode/internal/cache/Oplog.java