//DEBUGED private int find(DirtySet d, ArrayList list) { for (int i = 0; i < list.Count; i++) { if (d.equal((DirtySet)list[i])) { return(i); } } return(-1); }
private int find(DirtySet d, ArrayList list) { int index = -1; for (int i = 0; i < list.Count && index == -1; i++) { if (d.equal((DirtySet)list[i])) { index = i; } } return(index); }