mP1/walkingkooka-tree

Node.removeIf(Predicate)

Opened this issue · 0 comments

mP1 commented
default Node.removeIf(Predicate) {
	return this.setChildren(
		this.children()
			.stream()
			.filter(Predicate.not)
			.collectToList()
	);
}