Skip to main content
在 Manus 中运行任何 Skill
一键导入

js-map-of-sets

星标0
分支0
更新时间2026年5月2日 18:30

Use the MapOfSets data structure when you need a Map that stores multiple unique values per key (a Map<K, Set<V>>). Handles adding, removing, querying, and iterating over grouped unique values without manual Set management. Use when the user needs to group items by key without duplicates, implement a multimap, track relationships like tags-to-items or events-to-listeners, or replace a plain Map<K, T[]> where uniqueness matters.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
11 个文件
SKILL.md
readonly