add even more methods
[jSite2.git] / src / net / pterodactylus / util / data / Node.java
index 3ba6004..37588b5 100644 (file)
@@ -110,6 +110,11 @@ public interface Node<E> extends Iterable<Node<E>> {
        public void removeChild(int childIndex);
 
        /**
+        * Removes all children from this node.
+        */
+       public void removeAllChildren();
+
+       /**
         * {@inheritDoc}
         */
        public Iterator<Node<E>> iterator();