<<Type>> Bag {Analysis} derived from: Collection

Documentation
A bag is a type of set where the elements have been assigned an individual count (a integral ordering).

Parent PackageCollectionsAbstractNo
Export ControlPublicAccessLink Class forNone
Class KindParameterizedClassCardinalityn
Space ConcurrencySequential
PersistenceYes  


Operations
NameSignatureClass
unionBag<T> union (Bag<T> other)Bag
unionBag<T> union (Set<T> other)Bag
asSequenceSequence<T> asSequence ()Bag
asSetSet<T> asSet ()Bag
collectBag<expr.type> collect (OCL expr)Bag
excludingBag<T> excluding (T object)Bag
includingBag<T> including (T object)Bag
rejectBag<expr.type> reject (OCL expr)Bag
selectBag<expr.type> select (OCL expr)Bag


Associations
NameMy RoleMy ClassOther RoleOther Element
--Not Named----Not Named--BagelementT


Generalization Relationships
NameClassSupplier
--Not Named--BagCollection


Realize Relationships
NameClassSupplier
--Not Named--CollectionTransfiniteSet