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