public Object value() {
        if (doingInt) {
          return nextIntEntry.getValue();
        } else {
          return nextLongEntry.getValue();
        }
      }
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