public void printHex ( ) { System . out . print ( "[ " ) ; for ( int i = 0 ; i < size ; i ++ ) { System . out . printf ( "0x%02X " , data [ i ] ) ; } System . out . print ( "]" ) ; }
Prints the queue to stdout as a hex array