final public void print ( long v ) { Writer out = this . out ; if ( out == null ) return ; if ( v == 0x8000000000000000 L ) { print ( "-9223372036854775808" ) ; return ; } try { if ( v < 0 ) { out . write ( ' ' ) ; v = - v ; } else if ( v == 0 ) { out . write ( ' ' ) ; return ; } int j = 31 ; while ( v > 0 ) { _tempCharBuffer [ -- j ] = ( char ) ( ( v % 10 ) + ' ' ) ; v /= 10 ; } out . write ( _tempCharBuffer , j , 31 - j ) ; } catch ( IOException e ) { log . log ( Level . FINE , e . toString ( ) , e ) ; } }
Prints a long .