public boolean forEach(@NotNull BiPredicate<? super K, Items<VItem>> processor) throws IOException {
    return keyHashToChunkIdMap.forEach((keyHash, recordId) -> {
      Pair<K, ItemsImpl> entry = readEntry(convertStoredIdToChunkId(recordId));
      K key = entry.first;
      ItemsImpl value = entry.second;
      if (value != null) {
        return processor.test(key, value);
      }
      return true;
    });
  }
public boolean forEach(@NotNull BiPredicate<? super K, Items<VItem>> processor)