public ActiveList next() { this.listPtr++; if (this.listPtr >= SimpleActiveListManager.access_000(this.this_0).Length) { throw new NoSuchElementException(); } if (SimpleActiveListManager.access_100(this.this_0)) { this.checkPriorLists(); } return(SimpleActiveListManager.access_000(this.this_0)[this.listPtr]); }
private void checkPriorLists() { for (int i = 0; i < this.listPtr; i++) { ActiveList activeList = SimpleActiveListManager.access_000(this.this_0)[i]; if (activeList.size() > 0) { string text = new StringBuilder().append("At while processing state order").append(this.listPtr).append(", state order ").append(i).append(" not empty").toString(); throw new Error(text); } } }
public void remove() { SimpleActiveListManager.access_000(this.this_0)[this.listPtr] = SimpleActiveListManager.access_000(this.this_0)[this.listPtr].newInstance(); }
public bool hasNext() { return(this.listPtr + 1 < SimpleActiveListManager.access_000(this.this_0).Length - 1); }