public StrBuilder append ( final boolean value ) { if ( value ) { ensureCapacity ( size + 4 ) ; buffer [ size ++ ] = ' ' ; buffer [ size ++ ] = ' ' ; buffer [ size ++ ] = ' ' ; buffer [ size ++ ] = ' ' ; } else { ensureCapacity ( size + 5 ) ; buffer [ size ++ ] = ' ' ; buffer [ size ++ ] = ' ' ; buffer [ size ++ ] = ' ' ; buffer [ size ++ ] = ' ' ; buffer [ size ++ ] = ' ' ; } return this ; }
Appends a boolean value to the string builder .