/** Update the status of the list if it has changed. */ public final void update() { Collection<T> keys; synchronized (lock()) { keys = new ArrayList<T>(list); } super.setKeys(keys); } }
/** Update the status of the list if it has changed. */ public final void update () { Object[] keys; synchronized (lock ()) { keys = list.toArray (); } super.setKeys (keys); }
/** Update the status of the list if it has changed. */ public final void update () { Object[] keys; synchronized (lock ()) { keys = list.toArray (); } super.setKeys (keys); }