internal SimpleListIterator(AbstractList <E> _enclosing) { this._enclosing = _enclosing; pos = -1; lastPosition = -1; this.expectedModCount = this._enclosing.modCount; }
public Itr(AbstractList <E> outerInstance) { this.OuterInstance = outerInstance; if (!InstanceFieldsInitialized) { InitializeInstanceFields(); InstanceFieldsInitialized = true; } }
internal FullListIterator(AbstractList <E> _enclosing, int start) : base(_enclosing ) { this._enclosing = _enclosing; if (start >= 0 && start <= this._enclosing.size()) { this.pos = start - 1; } else { throw new System.IndexOutOfRangeException(); } }
internal SubList(AbstractList <E> list, int fromIndex, int toIndex) { if (fromIndex < 0) { throw new IndexOutOfBoundsException("fromIndex = " + fromIndex); } if (toIndex > list.Size()) { throw new IndexOutOfBoundsException("toIndex = " + toIndex); } if (fromIndex > toIndex) { throw new IllegalArgumentException("fromIndex(" + fromIndex + ") > toIndex(" + toIndex + ")"); } l = list; Offset = fromIndex; Size_Renamed = toIndex - fromIndex; this.ModCount = l.ModCount; }
public AbstractListIterator(AbstractList <V> list) { this.list = list; this.n = 0; }
internal RandomAccessSubList(AbstractList <E> list, int fromIndex, int toIndex) : base(list, fromIndex, toIndex) { }
internal ListItr(AbstractList <E> outerInstance, int index) : base(outerInstance) { this.OuterInstance = outerInstance; Cursor = index; }