I need to implement examples of <<history>> and <<bag>> stereotype in Java, but the every article I have read difference between them is not explained. Could you please explain it, or show some code which explains it all?

有帮助吗?

解决方案 2

Ok it is said(not in english) that the implementation is exactly the same.

其他提示

{bag} and <<history>> are very similiar. The difference is that <<history>> should be use to keep a record of changes in time.

Also keep in mind that {bag} is a constraint while <<history>> is a stereotype.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top