public V Next() { if (n >= list.Size()) { throw new NoSuchElementException(); } V v = list.Get(n); n++; return(v); }
public virtual E Get(int index) { RangeCheck(index); CheckForComodification(); return(l.Get(index + Offset)); }