100101102103104105106107108109110
control = null; } } private Latch getNextLock(Control control) { Latch lock = null; //System.out.println("next lock "); if (grantedList != null) { if (grantedList.hasNext()) { lock = (Lock) grantedList.next(); }
128129130131132133134135136137
public Object nextElement() { if (!hasMoreElements()) throw new NoSuchElementException(); Latch ret = nextLock; nextLock = null; return ret; }
979899100101102103104105106107
125126127128129130131132133134
99100101102103104105106107108109
127128129130131132133134135136
control = null; } } private Latch getNextLock(Control control) { Latch lock = null; if (grantedList != null) { if (grantedList.hasNext()) { lock = (Latch) grantedList.next(); } else
124125126127128129130131132133