@Override
  public CachedDeserializable next() {
    return (CachedDeserializable) iterator.next();
  }
An adapter from a java.util.iterator to a closable iterator.

The java.util.iterator is expected to be iterating over a set of CachedDeserializable objects.
geode-core/src/main/java/org/apache/geode/internal/cache/persistence/query/mock/ItrAdapter.java