public class DefaultObjectSizeEstimator extends java.lang.Object implements ObjectSizeEstimator
ObjectSizeEstimator
implementation for general purpose.构造器和说明 |
---|
DefaultObjectSizeEstimator()
Creates a new instance.
|
限定符和类型 | 方法和说明 |
---|---|
int |
estimateSize(java.lang.Object o)
Returns the estimated size of the specified object in bytes.
|
public int estimateSize(java.lang.Object o)
ObjectSizeEstimator
estimateSize
在接口中 ObjectSizeEstimator