gate.creole.gazetteer
Class MappingDefinition.SafeIterator

java.lang.Object
  |
  +--gate.creole.gazetteer.MappingDefinition.SafeIterator
All Implemented Interfaces:
Iterator
Enclosing class:
MappingDefinition

private class MappingDefinition.SafeIterator
extends Object
implements Iterator

Provides means for safe iteration over the entries of the Mapping Definition


Field Summary
private  int index
           
private  boolean removeCalled
           
 
Constructor Summary
private MappingDefinition.SafeIterator()
           
 
Method Summary
 boolean hasNext()
           
 Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

index

private int index

removeCalled

private boolean removeCalled
Constructor Detail

MappingDefinition.SafeIterator

private MappingDefinition.SafeIterator()
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

next

public Object next()
Specified by:
next in interface Iterator

remove

public void remove()
Specified by:
remove in interface Iterator