|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.netty.util.DefaultObjectSizeEstimator
public class DefaultObjectSizeEstimator
The default ObjectSizeEstimator
implementation for general purpose.
Constructor Summary | |
---|---|
DefaultObjectSizeEstimator()
Creates a new instance. |
Method Summary | |
---|---|
int |
estimateSize(java.lang.Object o)
Returns the estimated size of the specified object in bytes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultObjectSizeEstimator()
Method Detail |
---|
public int estimateSize(java.lang.Object o)
ObjectSizeEstimator
estimateSize
in interface ObjectSizeEstimator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |