一种可能性是让污染者为排放温室气体而付出代价。
One possibility is to make polluters pay for the cost of greenhouse gas emissions.
如果不需要支持mutation事件,那么何必为创建支持这种功能的对象而付出代价呢?
If you don't need support for mutation events, why should you pay the price of creating objects that carry the weight of such a feature?
通过将基本的功能从线程安全性中分离开来, Collections.synchronizedMap 允许需要同步的用户可以拥有同步,而不需要同步的用户则不必为同步付出代价。
Separating the base functionality from the thread-safety Collections.synchronizedMap allowed users who needed synchronization to have it, but users who didn't need it didn't have to pay for it.
应用推荐