String asString ( ) { if ( mParent == null ) { return "anyPolicy ROOT\n" ; } else { StringBuilder sb = new StringBuilder ( ) ; for ( int i = 0 , n = getDepth ( ) ; i < n ; i ++ ) { sb . append ( " " ) ; } sb . append ( policyToString ( getValidPolicy ( ) ) ) ; sb . append ( " CRIT: " ) ; sb . append ( isCritical ( ) ) ; sb . append ( " EP: " ) ; for ( String policy : getExpectedPolicies ( ) ) { sb . append ( policyToString ( policy ) ) ; sb . append ( " " ) ; } sb . append ( " (" ) ; sb . append ( getDepth ( ) ) ; sb . append ( ")\n" ) ; return sb . toString ( ) ; } }
Prints out some data on this node .