|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jmlspecs.models.JMLValueSetSpecs
Special behavior for JMLValueSet not shared by JMLObjectSet.
JMLValueType,
JMLValueSet| Constructor Summary | |
JMLValueSetSpecs()
|
|
| Method Summary | |
abstract Object |
clone()
Return a deep copy of this object. |
boolean |
has(Object elem)
Is the argument ".equals" to one of the values in theSet. |
abstract boolean |
has(JMLType elem)
Is the argument ".equals" to one of the values in the set. |
abstract JMLValueSet |
insert(JMLType elem)
Is the argument one of the objects representing values in the set? |
abstract int |
int_size()
Tells the number of elements in the set. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jmlspecs.models.JMLValueType |
equals |
| Methods inherited from interface org.jmlspecs.models.JMLType |
hashCode |
| Constructor Detail |
public JMLValueSetSpecs()
| Method Detail |
public abstract boolean has(JMLType elem)
has(Object)public boolean has(Object elem)
has(JMLType)public abstract int int_size()
public abstract Object clone()
JMLValueType
clone in interface JMLValueTypeclone in class Objectpublic abstract JMLValueSet insert(JMLType elem)
Returns a new set that contains all the elements of this and
also the given argument.
|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||