Interface ComponentReplacer

All Known Implementing Classes:
TypedComponentReplacerImpl
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ComponentReplacer
Functional interface similar to a Function, which takes a Component as an input and can change/remove the component based on what is returned.
Component replacers can be used by ComponentTree and IReplaceable.replace(ComponentReplacer).

This interface also provides static factories to help you use the most common replacers.