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.
我正在尝试将模板参数添加到类但没有任何成功。 我想制作具有模板参数的类,例如Range<T>.
Range<T>
那些纸莎草纸支持吗?
是的,但通过图形编辑器有点棘手。
我建议您阅读 [1] 并使用 UML 树编辑器,然后重新加载图形视图。
UML 中的泛型并不像 Java 中那样简单。
[1] http://www.eclipse.org/articles/article.php?file=Article-Defining-Generics-with-UML-Templates/index.html