KongaTreeFilter
implementation that decorates another filter and memoizes the result of each node that the filter has been applied to. When the filter is applied to a node it first checks if that node has already been evaluated, and returns the previously calculated result, if present.
This class implements the KongaTreeFilter2
extension interface, by forwarding the call to {@link KongaTreeFilter2#hasBeenApplied(KongaTree) hasBeenApplied} to the decorated filterif the decorated filter is also a KongaTreeFilter2
.
@author Torgil Zethson
@since 4.0.0