You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NTContainer >> ensureTagNamed: aString
"Add a tag if it not already present"
^ self tags
detect: [ :n | n tagName = aString ]
ifNone: [ self addTagNamed: aString ]
It ensures that there is not two tags witht the same name.
Now the tags is an orderedCollection and not a Set.
So offering the tags: accessor means that the user could have duplicated tags.