NASA World Wind

gov.nasa.worldwind.util
Class VecBuffer.BasicIterator<T>

java.lang.Object
  extended by gov.nasa.worldwind.util.VecBuffer.BasicIterator<T>
All Implemented Interfaces:
Iterator<T>
Enclosing class:
VecBuffer

protected class VecBuffer.BasicIterator<T>
extends Object
implements Iterator<T>


Field Summary
protected  VecBuffer.ElementAccessor<T> accessor
           
protected  int position
           
protected  int size
           
 
Constructor Summary
VecBuffer.BasicIterator(VecBuffer.ElementAccessor<T> accessor)
           
 
Method Summary
 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

accessor

protected VecBuffer.ElementAccessor<T> accessor

position

protected int position

size

protected final int size
Constructor Detail

VecBuffer.BasicIterator

public VecBuffer.BasicIterator(VecBuffer.ElementAccessor<T> accessor)
Method Detail

hasNext

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

next

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

remove

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

NASA World Wind