Class SizeOf.SizeOfVisitor

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private SizeOfVisitor()  
    • 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

      • SizeOfVisitor

        private SizeOfVisitor()
    • 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...