Beispiel #1
0
 public SubAbstractList(AbstractList <E> list, int start, int end) : base()
 {
     fullList = list;
     modCount = fullList.modCount;
     offset   = start;
     size     = end - start;
 }
Beispiel #2
0
 public FullListIterator(int start, AbstractList <E> parent) : base(parent)
 {
     if (start < 0 || start > numLeft)
     {
         throw new IndexOutOfRangeException();
     }
     numLeft -= start;
 }
Beispiel #3
0
 public SimpleListIterator(AbstractList <E> parent) : base()
 {
     this.parent           = parent;
     this.numLeft          = parent.Size();
     this.expectedModCount = parent.modCount;
 }