@Override final public VectorEntry next() { if (!hasNext()) { throw new NoSuchElementException( "Iterator has exceeded the bounds of the vector."); } VectorEntry result = new BaseVectorEntry(this.index, this.vector); ++this.index; return result; }
@Override final public VectorEntry next() { if (!hasNext()) { throw new NoSuchElementException( "Iterator has exceeded the bounds of the vector."); } VectorEntry result = new BaseVectorEntry(this.index, this.vector); ++this.index; return result; }
@Override final public VectorEntry next() { if (!hasNext()) { throw new NoSuchElementException( "Iterator has exceeded the bounds of the vector."); } VectorEntry result = new BaseVectorEntry(this.index, this.vector); ++this.index; return result; }