Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在标准库中,我们有类似的方法Collections#unmodifiableCollection()
Collections#unmodifiableCollection()
在 fastutil 中找不到相同的类型集合。请提示!
IntSets.unmodifiable()是答案。抱歉,javadoc 站点现在处于离线状态。
IntSets.unmodifiable()