Interface Weigher<V>
- Type Parameters:
V- 值类型
public interface Weigher<V>
确定值的选择器
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Method Summary
-
Method Details
-
weightOf
测量对象的选择器以确定值消耗了多少个容量单位- Parameters:
value- 称量物体- Returns:
- 对象的选择器
-
V - 值类型value - 称量物体