METHOD_0 ( ) { java . util . stream . IDENT_0 < java . lang . Integer > stream = java . util . stream . IDENT_0 . of ( 1 , 2 , 3 ) ; java . util . List < java . lang . Integer > values = com . IDENT_1 . IDENT_2 . examples . IDENT_3 . IDENT_4 . IDENT_4 . map ( stream , ( x ) -> x + 1 ) ; "<AssertPlaceHolder>" ; } map ( java . util . stream . IDENT_0 , java . util . function . IDENT_5 ) { return stream . METHOD_1 ( new java . util . ArrayList ( ) , ( IDENT_6 , value ) -> { ArrayList < com . IDENT_1 . IDENT_2 . examples . IDENT_3 . IDENT_7 > result = new com . IDENT_1 . IDENT_2 . examples . IDENT_3 . ArrayList < > ( ) ; result . addAll ( IDENT_6 ) ; result . add ( mapper . apply ( value ) ) ; return result ; } , ( IDENT_8 , IDENT_9 ) -> { ArrayList < com . IDENT_1 . IDENT_2 . examples . IDENT_3 . IDENT_7 > result = new com . IDENT_1 . IDENT_2 . examples . IDENT_3 . ArrayList < > ( ) ; result . addAll ( IDENT_8 ) ; result . addAll ( IDENT_9 ) ; return result ; } ) ; }
org . junit . Assert . assertEquals ( java . util . Arrays . asList ( 2 , 3 , 4 ) , values )