public static CharBuf sputl ( CharBuf buf , Object ... messages ) { for ( Object message : messages ) { if ( message == null ) { buf . add ( "<NULL>" ) ; } else if ( message . getClass ( ) . isArray ( ) ) { buf . add ( toListOrSingletonList ( message ) . toString ( ) ) ; } else { buf . add ( message . toString ( ) ) ; } buf . add ( ' ' ) ; } buf . add ( ' ' ) ; return buf ; }
Writes to a char buf . A char buf is like a StringBuilder .