How does \Magento\Weee\Helper\Data::setApplied() work?

Context: How does \Magento\Weee\Model\Total\Quote\Weee::process() work?

ttps://github.com/magento/magento2/blob/200880/app/code/Magento/Weee/Helper/Data.php#L379-L386