/** Applies the keys. */ private void applyKeys (final ArrayList l) { Runnable invoke = new Runnable () { public void run () { if (keysCheck (Keys.this, this)) { // no next request after me Keys.this.setEntries (l); // clear this runnable keysExit (Keys.this, this); } } }; keysEnter (this, invoke); MUTEX.postWriteRequest (invoke); }
/** Applies the keys. */ private void applyKeys (final ArrayList l) { Runnable invoke = new Runnable () { public void run () { if (keysCheck (Keys.this, this)) { // no next request after me Keys.this.setEntries (l); // clear this runnable keysExit (Keys.this, this); } } }; keysEnter (this, invoke); MUTEX.postWriteRequest (invoke); }
/** Applies the keys. */ private void applyKeys(final List<? extends Entry> l) { Runnable invoke = new Runnable() { public void run() { if (keysCheck(Keys.this, this)) { // no next request after me entrySupport().setEntries(l); // clear this runnable keysExit(Keys.this, this); } } }; keysEnter(this, invoke); MUTEX.postWriteRequest(invoke); }