org.openstreetmap.josm.data.osm
Class Storage.SafeReadonlyIter

java.lang.Object
  extended by org.openstreetmap.josm.data.osm.Storage.SafeReadonlyIter
All Implemented Interfaces:
java.util.Iterator<T>
Enclosing class:
Storage<T>

private final class Storage.SafeReadonlyIter
extends java.lang.Object
implements java.util.Iterator<T>


Field Summary
(package private)  T[] data
           
(package private)  int slot
           
 
Constructor Summary
Storage.SafeReadonlyIter(T[] data)
           
 
Method Summary
private  void align()
           
 boolean hasNext()
           
 T next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

final T[] data

slot

int slot
Constructor Detail

Storage.SafeReadonlyIter

Storage.SafeReadonlyIter(T[] data)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<T>

next

public T next()
Specified by:
next in interface java.util.Iterator<T>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<T>

align

private void align()


JOSM