METHOD_0 ( ) { java . lang . String [ ] IDENT_0 = new java . lang . String [ ] { STRING_0 , STRING_1 , STRING_2 , STRING_3 , STRING_4 , STRING_5 } ; java . util . List < java . lang . String > IDENT_1 = java . util . Arrays . asList ( STRING_0 , STRING_2 , STRING_4 ) ; java . util . List < java . lang . String > IDENT_2 = com . baeldung . stream . IDENT_3 . METHOD_1 ( IDENT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String [ ] ) { java . util . List < java . lang . String > IDENT_4 = java . util . stream . IDENT_5 . range ( 0 , IDENT_0 . length ) . filter ( ( i ) -> ( i OP_0 2 ) == 0 ) . METHOD_2 ( ( i ) -> IDENT_0 [ i ] ) . collect ( java . util . stream . IDENT_6 . toList ( ) ) ; return IDENT_4 ; }
org . junit . Assert . assertEquals ( IDENT_1 , IDENT_2 )