|
JML | ||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use JMLEqualsBag | |
org.jmlspecs.models | This package is a collection of types with immutable objects; it also enumerators (which have mutable objects) for the types of the immutable collections in the package. |
Uses of JMLEqualsBag in org.jmlspecs.models |
Fields in org.jmlspecs.models declared as JMLEqualsBag | |
static JMLEqualsBag |
JMLEqualsBag.EMPTY
The empty JMLEqualsBag. |
protected JMLEqualsBag |
JMLEqualsBagEnumerator.currentBag
The bag underlying this enumerator. |
Methods in org.jmlspecs.models that return JMLEqualsBag | |
JMLEqualsBag |
JMLEqualsSet.toBag()
Return a new JMLEqualsBag containing all the elements of this. |
JMLEqualsBag |
JMLEqualsSequence.toBag()
Return a new JMLEqualsBag containing all the elements of this. |
static JMLEqualsBag |
JMLEqualsBag.singleton(Object e)
Return the singleton bag containing the given element. |
static JMLEqualsBag |
JMLEqualsBag.convertFrom(Object[] a)
Return the bag containing all the elements in the given array. |
static JMLEqualsBag |
JMLEqualsBag.convertFrom(Collection c)
Return the bag containing all the object in the given collection. |
static JMLEqualsBag |
JMLEqualsBag.convertFrom(JMLCollection c)
Return the bag containing all the object in the given JMLCollection. |
JMLEqualsBag |
JMLEqualsBag.insert(Object elem)
Return a bag containing the given item and the ones in this bag. |
JMLEqualsBag |
JMLEqualsBag.insert(Object elem,
int cnt)
Return a bag containing the given item the given number of times, in addition to the ones in this bag. |
JMLEqualsBag |
JMLEqualsBag.remove(Object elem)
Return a bag containing the items in this bag except for one of the given element. |
JMLEqualsBag |
JMLEqualsBag.remove(Object elem,
int cnt)
Return a bag containing the items in this bag, except for the given number of the given element. |
JMLEqualsBag |
JMLEqualsBag.removeAll(Object elem)
Return a bag containing the items in this bag, except for all items that are ".equals" to the given item. |
JMLEqualsBag |
JMLEqualsBag.intersection(JMLEqualsBag b2)
Return a bag containing the items in both this bag and the given bag. |
JMLEqualsBag |
JMLEqualsBag.union(JMLEqualsBag b2)
Return a bag containing the items in either this bag or the given bag. |
JMLEqualsBag |
JMLEqualsBag.difference(JMLEqualsBag b2)
Return a bag containing the items in this bag minus the items in the given bag. |
protected JMLEqualsBag |
JMLEqualsBagEnumerator.abstractValue()
Return the abstract value of this bag enumerator. |
Methods in org.jmlspecs.models with parameters of type JMLEqualsBag | |
boolean |
JMLEqualsBag.isSubbag(JMLEqualsBag b2)
Tells whether every item in this bag is contained in the argument. |
boolean |
JMLEqualsBag.isProperSubbag(JMLEqualsBag b2)
Tells whether every item in this bag is contained in the argument, but the argument is strictly larger. |
boolean |
JMLEqualsBag.isSuperbag(JMLEqualsBag b2)
Tells whether every item in the argument is contained in this bag. |
boolean |
JMLEqualsBag.isProperSuperbag(JMLEqualsBag b2)
Tells whether every item in the argument is contained in this bag argument, but this bag is strictly larger. |
JMLEqualsBag |
JMLEqualsBag.intersection(JMLEqualsBag b2)
Return a bag containing the items in both this bag and the given bag. |
JMLEqualsBag |
JMLEqualsBag.union(JMLEqualsBag b2)
Return a bag containing the items in either this bag or the given bag. |
JMLEqualsBag |
JMLEqualsBag.difference(JMLEqualsBag b2)
Return a bag containing the items in this bag minus the items in the given bag. |
Constructors in org.jmlspecs.models with parameters of type JMLEqualsBag | |
JMLEqualsBagEnumerator(JMLEqualsBag b)
Initialize this with the given bag. |
|
JML | ||||||||||
PREV NEXT | FRAMES NO FRAMES |