pawel.barszcz
01/08/2017, 9:47 PMSet<Project>
where `Project`’s hash code is it’s ID (one of properties).
2. I wanted to updated Project
stored in a Set
with following code:
override fun save(updatedProject: Project): Project {
projects += updatedProject
return updatedProject
}
3. It turned out that I still have the old version of Project
in a Set
after this operation. But I want the new one to replace the old one.