private static @Nullable ArchiveHandler.EntryInfo put(@NotNull String relativePath,
                                                        @NotNull ArchiveHandler.EntryInfo value,
                                                        ArchiveHandler.EntryInfo @NotNull [] entries) {
    int index = index(relativePath, entries);
    ArchiveHandler.EntryInfo entry;
    int i = index;
    while (true) {
      entry = entries[i];
      if (entry == null || isTheOne(entry, relativePath)) {
        entries[i] = value;
        break;
      }
      if (++i == entries.length) {
        i = 0;
      }
    }
    return entry;
  }
private static @Nullable ArchiveHandler.EntryInfo put(@NotNull String relativePath,
                                                        @NotNull ArchiveHandler.EntryInfo value,
                                                        ArchiveHandler.EntryInfo @NotNull [] entries)