gives the byte representation of a bomb . a white bomb , if the fuse has a length of 2 ^ n , a black bomb otherwise . concode_field_sep byte WHITE_BOMB concode_elem_sep byte BYTE_FOR_EMPTY concode_elem_sep byte BLACK_BOMB concode_field_sep byte byteForBlast
byte function ( Bomb arg0 ) { if ( Integer . bitCount ( arg0 . fuseLength ( ) ) == 1 ) { return WHITE_BOMB ; } else { return BLACK_BOMB ; } }