gate.annotation
Class AnnotationSetImpl.AnnotationSetIterator

java.lang.Object
  extended by gate.annotation.AnnotationSetImpl.AnnotationSetIterator
All Implemented Interfaces:
Iterator<Annotation>
Direct Known Subclasses:
DatabaseAnnotationSetImpl.DatabaseAnnotationSetIterator
Enclosing class:
AnnotationSetImpl

 class AnnotationSetImpl.AnnotationSetIterator
extends Object
implements Iterator<Annotation>

This inner class serves as the return value from the iterator() method.


Field Summary
private  Iterator<Annotation> iter
           
protected  Annotation lastNext
           
 
Constructor Summary
AnnotationSetImpl.AnnotationSetIterator()
           
 
Method Summary
 boolean hasNext()
           
 Annotation next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

iter

private Iterator<Annotation> iter

lastNext

protected Annotation lastNext
Constructor Detail

AnnotationSetImpl.AnnotationSetIterator

AnnotationSetImpl.AnnotationSetIterator()
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<Annotation>

next

public Annotation next()
Specified by:
next in interface Iterator<Annotation>

remove

public void remove()
Specified by:
remove in interface Iterator<Annotation>