protected void putBoolean ( boolean data ) { if ( tc . isEntryEnabled ( ) ) Tr . entry ( tc , "putBoolean" , new Object [ ] { this , new Boolean ( data ) } ) ; if ( tc . isDebugEnabled ( ) ) Tr . debug ( tc , "Writing at position " + _buffer . position ( ) ) ; _buffer . put ( data ? TRUE : FALSE ) ; if ( tc . isEntryEnabled ( ) ) Tr . exit ( tc , "putBoolean" ) ; }
Setter method used to write a boolean to the mapped byte buffer at the current byte cursor position . The byte cursor is advanced by the size of a boolean .