Uses of Interface
cdc.util.data.Child
-
Packages that use Child Package Description cdc.util.data cdc.util.data.util -
-
Uses of Child in cdc.util.data
Subinterfaces of Child in cdc.util.data Modifier and Type Interface Description interfaceLeafInterface implemented by leaf nodes (they have no children).Classes in cdc.util.data that implement Child Modifier and Type Class Description (package private) classAbstractChildBase class of nodes that are children (they have a parent node).(package private) classAbstractContentNodeBase class for nodes with content: text and comment.classCommentComment node.classElementXML like Element node.classTextText node.Methods in cdc.util.data with type parameters of type Child Modifier and Type Method Description default <C extends Child>
CParent. addChild(C child)Adds a child to this parent.Methods in cdc.util.data that return Child Modifier and Type Method Description ChildChild. clone(boolean recurse)default ChildParent. getChildAt(int index)Returns the child at a given, index or null.default ChildParent. getLastChild()default ChildChild. getRootChild()Returns the highest ancestor of this child that is a child.default ChildParent. removeChildAt(int index)Removes the child located at a given index.Methods in cdc.util.data that return types with arguments of type Child Modifier and Type Method Description List<Child>Document. getChildren()List<Child>Element. getChildren()List<? extends Child>Parent. getChildren()List<Child>Document. getModifiableChildren()List<Child>Element. getModifiableChildren()List<Child>Parent. getModifiableChildren()Methods in cdc.util.data with parameters of type Child Modifier and Type Method Description default voidParent. addChildren(Child... children)Adds all children of an array to this parent.booleanDocument. canAddChild(Child child)booleanElement. canAddChild(Child child)booleanParent. canAddChild(Child child)Returnstruewhen a child can be added.default booleanParent. removeChild(Child child)Remove a child.Method parameters in cdc.util.data with type arguments of type Child Modifier and Type Method Description default voidParent. addChildren(Iterable<? extends Child> children)Adds all children of an Iterable to this parent.default voidParent. removeChildren(Predicate<? super Child> predicate)Removes all children that match a predicate.default voidParent. removeChildren(Predicate<? super Child> predicate, boolean pre, boolean recurse)Removes all children that match a predicate, recursively.default voidParent. sortChildren(Comparator<? super Child> comparator)Sorts children locally.default voidParent. sortChildren(Comparator<? super Child> comparator, boolean recurse)Sorts children recursively. -
Uses of Child in cdc.util.data.util
Method parameters in cdc.util.data.util with type arguments of type Child Modifier and Type Method Description static voidDataUtils. removeMatchingChildren(Parent parent, Predicate<? super Child> predicate, Evaluator<? super Parent> evaluator)Removes matching children.static voidDataUtils. sortChildren(Parent parent, Predicate<? super Parent> predicate, Comparator<? super Child> comparator, Evaluator<? super Parent> evaluator)Sorts children nodes using a user-defined comparator.
-