Timeline for Implement uml Graph in Java
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 25, 2021 at 8:46 | comment | added | Der_Reparator |
@Christophe yes, you're right - the final modifier is not fitting to the given model. I still think the aspect about initializing the cost of each material in the constructor (expressing that it is required to be set validly) is a noteworthy feature.
|
|
Nov 24, 2021 at 23:47 | comment | added | Christophe |
Nice answer. But doesn't this implementation make cost to remain unchanged once the enum constructed? Wouldn't this make the cost {readOnly} in UML, (which is not the case in the diagram)?
|
|
Nov 24, 2021 at 22:13 | history | answered | Der_Reparator | CC BY-SA 4.0 |