I bet this has been up before but I find the getChildren().add(node) statement quite noisy.
add(Node node) on Parent (or addChild) is used so often that it should be a convenience method. remove(Node node) as well.
add(Node node) on Parent (or addChild) is used so often that it should be a convenience method. remove(Node node) as well.
- relates to
-
JDK-8091882 There should be an interface for parents that have a public getChildren() method
-
- Open
-