@Override
  public Iterator<VersionTagEntry> getVersionTags() {
    Iterator<VersionTagEntry> result = versionTags.iterator();
    initVersionTagsSet();
    return result;
  }
Using CM as a Set of keys
geode-core/src/main/java/org/apache/geode/internal/cache/UnsharedImageState.java