private static void detachNodes(List<SimpleConfigurationNode> children) { synchronized (children) { for (SimpleConfigurationNode node : children) { node.attached = false; node.clear(); } } }
private static void detachNodes(List<SimpleConfigurationNode> children) { synchronized (children) { for (SimpleConfigurationNode node : children) { node.attached = false; node.clear(); } } }
private void detachNodes(List<SimpleConfigurationNode> children) { synchronized (children) { for (SimpleConfigurationNode node : children) { node.attached = false; node.clear(); } } }
private static SimpleConfigurationNode detachIfNonNull(SimpleConfigurationNode node) { if (node != null) { node.attached = false; node.clear(); } return node; }
private SimpleConfigurationNode possiblyDetach(SimpleConfigurationNode node) { if (node != null) { node.attached = false; node.clear(); } return node; }
private static SimpleConfigurationNode detachIfNonNull(SimpleConfigurationNode node) { if (node != null) { node.attached = false; node.clear(); } return node; }
private static void detachChildren(Map<Object, SimpleConfigurationNode> map) { for (SimpleConfigurationNode value : map.values()) { value.attached = false; value.clear(); } }
private static void detachChildren(Map<Object, SimpleConfigurationNode> map) { for (SimpleConfigurationNode value : map.values()) { value.attached = false; value.clear(); } }
private void detachChildren(Map<Object, SimpleConfigurationNode> map) { for (SimpleConfigurationNode value : map.values()) { value.attached = false; value.clear(); } }
void clear() { for (Iterator<SimpleConfigurationNode> it = iterateChildren().iterator(); it.hasNext();) { SimpleConfigurationNode node = it.next(); node.attached = false; it.remove(); if (node.getParentAttached().equals(holder)) { node.clear(); } } }
/** * Clears the set value (or any attached child values) from this value */ void clear() { for (Iterator<SimpleConfigurationNode> it = iterateChildren().iterator(); it.hasNext();) { SimpleConfigurationNode node = it.next(); node.attached = false; it.remove(); if (node.getParentEnsureAttached().equals(holder)) { node.clear(); } } }
/** * Clears the set value (or any attached child values) from this value */ void clear() { for (Iterator<SimpleConfigurationNode> it = iterateChildren().iterator(); it.hasNext();) { SimpleConfigurationNode node = it.next(); node.attached = false; it.remove(); if (node.getParentEnsureAttached().equals(holder)) { node.clear(); } } }
clear(); } else { parent.removeChild(key);
clear(); } else { parent.removeChild(key);
clear(); } else { parent.removeChild(key);