Class AbstractDoubleVector.Itr

java.lang.Object
org.djunits.value.vdouble.vector.base.AbstractDoubleVector.Itr
All Implemented Interfaces:
Serializable, Iterator<S>
Enclosing class:
AbstractDoubleVector<U extends Unit<U>,​S extends AbstractDoubleScalar<U,​S>,​V extends AbstractDoubleVector<U,​S,​V>>

protected class AbstractDoubleVector.Itr
extends Object
implements Iterator<S>, Serializable
The iterator class is loosely based in AbstractList.Itr. It does not throw a ConcurrentModificationException, because the size of the vector does not change. Normal (non-mutable) vectors cannot change their size, nor their content. The only thing for the MutableVector that can change is its content, not its length.
See Also:
Serialized Form