# Handles partial ordered sets (ie hierarchies)
# Thez are built by adding new element at the bottom of the hierarchy
-class PartialOrder[E]
-special Collection[E]
+class PartialOrder[E: Object]
+ super Collection[E]
# Elements
var _elements: Map[E, PartialOrderElement[E]]
end
end
-class PartialOrderElement[E]
+class PartialOrderElement[E: Object]
# The partial order where belong self
readable var _order: PartialOrder[E]