kermeta::standard
Class Iterator[G] inherited from Object



Iterator to be used with Collection
See also Collection.iterator()

@CompilerIgnore "true"
@ScalaCompilerName "k2.standard.Iterator"

Method Summary
Boolean
hasNext()


Returns true if the iterator has a next element


           
Boolean
isOff()


Returns true if the iterator is on the last element
i.e. returns not self.hasNext()


           

next()


Returns the next element of the iterator
Raises IteratorIsOff exception in case the iterator is on the last element


           


Details of operations

hasNext

Boolean hasNext[()


Returns true if the iterator has a next element

@traceability_text_reference "file:/mnt/extradisk/builds/workspace/org.kermeta.language.library_master/org/kermeta/language/org.kermeta.language.library.standard/src/main/kmt/kermeta/standard/collections.kmt;21727;21768"

isOff

Boolean isOff[()


Returns true if the iterator is on the last element
i.e. returns not self.hasNext()

@traceability_text_reference "file:/mnt/extradisk/builds/workspace/org.kermeta.language.library_master/org/kermeta/language/org.kermeta.language.library.standard/src/main/kmt/kermeta/standard/collections.kmt;21621;21660"

next

 next[()


Returns the next element of the iterator
Raises IteratorIsOff exception in case the iterator is on the last element

@traceability_text_reference "file:/mnt/extradisk/builds/workspace/org.kermeta.language.library_master/org/kermeta/language/org.kermeta.language.library.standard/src/main/kmt/kermeta/standard/collections.kmt;21908;21940"