Package | Description |
---|---|
org.eclipse.ocl.util |
Miscellaneous utilities in support of the OCL parser and environment
implementations.
|
Modifier and Type | Method and Description |
---|---|
static <E> Bag<E> |
CollectionUtil.asBag(java.util.Collection<E> self)
Implementation of the OCL
Set::asBag() : Bag(T)
Bag::asBag() : Bag(T)
Sequence::asBag() : Bag(T)
operations.
|
static <E> Bag<E> |
CollectionUtil.createNewBag()
Creates a new OCL Bag.
|
static <E> Bag<E> |
CollectionUtil.createNewBag(java.util.Collection<? extends E> c)
Creates a new OCL Bag with initial contents supplied.
|