/** Add one key and one node to the list. * @param key the key * @param node the node */ protected final void put(final T key, final Node node) { try { PR.enterWriteAccess(); if (getMap().put(key, node) != null) { refreshKeyImpl(key); } else { refreshImpl(); } } finally { PR.exitWriteAccess(); } }
/** Add one key and one node to the list. * @param key the key * @param node the node */ protected final void put (final Object key, final Node node) { try { PR.enterWriteAccess (); if (nodes.put (key, node) != null) { refreshKeyImpl (key); } else { refreshImpl (); } } finally { PR.exitWriteAccess (); } }
/** Add one key and one node to the list. * @param key the key * @param node the node */ protected final void put (final Object key, final Node node) { try { PR.enterWriteAccess (); if (nodes.put (key, node) != null) { refreshKeyImpl (key); } else { refreshImpl (); } } finally { PR.exitWriteAccess (); } }
/** Allows subclasses that directly modifies the * map with nodes to synchronize the state of the children. * * @param key the key that should be refreshed */ protected final void refreshKey (final Object key) { try { PR.enterWriteAccess (); refreshKeyImpl (key); } finally { PR.exitWriteAccess (); } }
/** Allows subclasses that directly modifies the * map with nodes to synchronize the state of the children. * * @param key the key that should be refreshed */ protected final void refreshKey (final Object key) { try { PR.enterWriteAccess (); refreshKeyImpl (key); } finally { PR.exitWriteAccess (); } }
/** Allows subclasses that directly modifies the * map with nodes to synchronize the state of the children. * * @param key the key that should be refreshed */ protected final void refreshKey(final T key) { try { PR.enterWriteAccess(); refreshKeyImpl(key); } finally { PR.exitWriteAccess(); } }