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