rebalanceWhere method
Allows you to rebalance only a portion of the tree. If you are dealing with non-deterministic compare functions, you probably need to consider rebalancing. If the priority function changed for certain known elements but not all, you can use this instead of rebalanceAll. In general be careful with using comparing functions that can change. Note: rebalancing is not stable. Note: this is a potentially expensive operation, and should be used sparingly.
Implementation
@override
void rebalanceWhere(bool Function(E element) test) {
_backingSet.rebalanceWhere(test);
}