|
JML | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A combination of JMLType and java.util.Iterator. None of these support the remove operation.
JMLEnumeration
,
JMLEnumerationToIterator
Class Specifications |
instance public represents moreElements <- this.hasNext(); |
Specifications inherited from class Object |
represents objectState <- org.jmlspecs.lang.JMLDataGroup.IT; public represents _getClass <- \typeof(this); |
Specifications inherited from interface Iterator |
public invariant this.moreElements == this.hasNext(0); |
Model Field Summary |
Model fields inherited from interface java.util.Iterator |
moreElements |
Ghost Field Summary |
Ghost fields inherited from interface java.util.Iterator |
elementType, remove_called_since, returnsNull |
Model Method Summary |
Model methods inherited from interface java.util.Iterator |
hasNext, nthNextElement |
Method Summary | |
Object |
clone()
Return a clone of this iterator. |
boolean |
hasNext()
|
Methods inherited from interface java.util.Iterator |
next, remove |
Methods inherited from interface org.jmlspecs.models.JMLType |
equals, hashCode |
Method Detail |
public Object clone()
clone
in interface JMLType
clone
in class Object
public boolean hasNext()
hasNext
in interface Iterator
|
JML | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |