METHOD_0 ( ) { final int messages = org . apache . activemq . artemis . utils . collections . IDENT_0 . IDENT_1 ; final java . lang . Integer [ ] elements = new java . lang . Integer [ messages ] ; for ( int i = 0 ; i < messages ; i ++ ) { final java . lang . Integer element = i ; elements [ i ] = element ; IDENT_2 . add ( element ) ; } final java . lang . Integer [ ] IDENT_3 = IDENT_2 . toArray ( java . lang . Integer [ ] :: new ) ; "<AssertPlaceHolder>" ; } toArray ( java . util . function . IDENT_4 ) { final long IDENT_5 = METHOD_1 ( ) ; assert IDENT_5 <= ( Integer . MAX_VALUE ) ; final int size = ( ( int ) ( IDENT_5 ) ) ; final T [ ] elements = IDENT_6 . apply ( size ) ; final int IDENT_7 = this . IDENT_7 ; final int IDENT_8 = ( size > IDENT_7 ) ? size > > ( IDENT_9 ) : 0 ; org . apache . activemq . artemis . utils . collections . IDENT_10 . IDENT_11 < T > buffer = IDENT_12 ; int IDENT_13 = 0 ; for ( int i = 0 ; i < IDENT_8 ; i ++ ) { org . apache . activemq . artemis . utils . collections . IDENT_10 . METHOD_2 ( buffer , elements , IDENT_13 , IDENT_7 ) ; IDENT_13 += IDENT_7 ; buffer = buffer . next ; } final int IDENT_14 = ( IDENT_8 > 0 ) ? size & ( IDENT_15 ) : size ; org . apache . activemq . artemis . utils . collections . IDENT_10 . METHOD_2 ( buffer , elements , IDENT_13 , IDENT_14 ) ; return elements ; }
org . junit . Assert . assertArrayEquals ( elements , IDENT_3 )