jodd-lagarto/src/main/java/jodd/lagarto/dom/Node.java
public Node[] filterChildNodes(final Predicate<Node> nodePredicate) {
		if (childNodes == null) {
			return new Node[0];
		}
		return childNodes.stream()
			.filter(nodePredicate)
			.toArray(Node[]::new);
	}
public Node[] filterChildNodes(final Predicate<Node> nodePredicate) {
		if (childNodes == null) {
			return new Node[0];
		}
		return childNodes.stream()
			.filter(nodePredicate)
			.toArray(Node[]::new);
	}
public Node [ ] filterChildNodes ( final Predicate < Node > nodePredicate ) { if ( childNodes == null ) { return new Node [ 0 ] ; } return childNodes . stream ( ) . filter ( nodePredicate ) . toArray ( Node [ ] :: new ) ; }
Filters child nodes.
Filters child nodes .