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.
如何使用 OCL 中的迭代功能编写 OCL 约束以检查特定键值对是否始终存在于 HashTable 中?我是 OCL 的初学者。任何提示或示例都会有所帮助。
查看集合的 Unique 运算符。这可能是实现您想要的更简单的方法。