/** Changes all pairs in the lookup to new values, notifies listeners * using provided executor. * * @param collection the collection of (Pair) objects * @param notifyIn the executor that will handle the notification of events * @since 7.16 */ protected final void setPairs(Collection<? extends Pair> collection, Executor notifyIn) { HashSet<R> listeners = setPairsAndCollectListeners(collection); notifyIn(notifyIn, listeners); }
/** Changes all pairs in the lookup to new values, notifies listeners * using provided executor. * * @param collection the collection of (Pair) objects * @param notifyIn the executor that will handle the notification of events * @since 7.16 */ protected final void setPairs(Collection<? extends Pair> collection, Executor notifyIn) { HashSet<R> listeners = setPairsAndCollectListeners(collection); notifyIn(notifyIn, listeners); }
/** Changes all pairs in the lookup to new values, notifies listeners * using provided executor. * * @param collection the collection of (Pair) objects * @param notifyIn the executor that will handle the notification of events * @since 7.16 */ protected final void setPairs(Collection<? extends Pair> collection, Executor notifyIn) { HashSet<R> listeners = setPairsAndCollectListeners(collection); notifyIn(notifyIn, listeners); }
/** Changes all pairs in the lookup to new values. * @param collection the collection of (Pair) objects */ protected final void setPairs (Collection collection) { notifyCollectedListeners (setPairsAndCollectListeners (collection)); }
/** Changes all pairs in the lookup to new values. * @param collection the collection of (Pair) objects */ protected final void setPairs (Collection collection) { notifyCollectedListeners (setPairsAndCollectListeners (collection)); }