public int size ( boolean recurse ) { if ( ! recurse ) { return this . children != null ? this . children . size ( ) : 0 ; } int size = 0 ; for ( LogEvent logEvent : this ) { ++ size ; if ( logEvent instanceof LogTreeNode ) { size += ( ( LogTreeNode ) logEvent ) . size ( true ) ; } } return size ; }
The number of logs .