Called by attemptCreateNode() when the cache is full and the new item
to be added has a lower priority than the already existing lowest
priority item. The method decides which of the two items should be
stored.
This implementation favors the new element over the existing element.
The user can override this method to implement a different behavior.
Called by attemptCreateNode() when the cache is full and the new item to be added has a lower priority than the already existing lowest priority item. The method decides which of the two items should be stored.
This implementation favors the new element over the existing element. The user can override this method to implement a different behavior.