Class SizeOf.CachingSizeOfVisitor

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long visit​(java.lang.Object object)
      The visit method executed on each node
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CachingSizeOfVisitor

        private CachingSizeOfVisitor()
    • Method Detail

      • visit

        public long visit​(java.lang.Object object)
        The visit method executed on each node
        Specified by:
        visit in interface ObjectGraphWalker.Visitor
        Parameters:
        object - the reference at that node
        Returns:
        a long for you to do things with...