Package org.ehcache.sizeof
Class SizeOf.SizeOfVisitor
- java.lang.Object
-
- org.ehcache.sizeof.SizeOf.SizeOfVisitor
-
- All Implemented Interfaces:
ObjectGraphWalker.Visitor
- Enclosing class:
- SizeOf
private class SizeOf.SizeOfVisitor extends java.lang.Object implements ObjectGraphWalker.Visitor
Will return the sizeOf each instance
-
-
Constructor Summary
Constructors Modifier Constructor Description privateSizeOfVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longvisit(java.lang.Object object)The visit method executed on each node
-
-
-
Method Detail
-
visit
public long visit(java.lang.Object object)
The visit method executed on each node- Specified by:
visitin interfaceObjectGraphWalker.Visitor- Parameters:
object- the reference at that node- Returns:
- a long for you to do things with...
-
-