public void saveVersions(Map<Object, VersionTag> vault) {
    Iterator it = iterator();
    while (it.hasNext()) {
      Entry e = it.next();
      if (e.getVersionTag() != null || !vault.containsKey(e.getKey())) {
        // bug 51850: There could be duplicated keys in removeAll. If non-singlehop, the returned
        // version tags from the each primary bucket will be conflated here.
        vault.put(e.getKey(), e.getVersionTag());
      }
    }
  }
save the current key/tag pairs in the given map
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/VersionedObjectList.java