void function ( ) { int loc0 = 10 ; ArrayBlockingQueue < String > loc1 = new ArrayBlockingQueue ( loc0 + 1 ) ; for ( int loc2 = 0 ; loc2 < loc0 ; loc2 ++ ) { loc1 . add ( Integer . toString ( loc2 ) ) ; } Queue loc3 = Collections . checkedQueue ( loc1 , String . class ) ; loc3 . add ( 0 ) ; }
this test tests the checkedqueue.add method . it creates a queue of string s gets the checked queue , and attempt to add an integer to the checked queue . concode_field_sep PlaceHolder placeHolder concode_field_sep void testArgs concode_elem_sep void testAddFail2 concode_elem_sep void testAdd concode_elem_sep void testOffer