public void prepend ( StringBuilder buffer , Object value ) { if ( buffer == null ) { throw new NullPointerException ( "buffer" ) ; } buffer . insert ( 0 , value ) ; }
A function to prepend a value to an existing buffer .