METHOD_0 ( ) { System . out . println ( STRING_0 ) ; IDENT_0 . types . IDENT_1 < java . lang . Integer > IDENT_2 = IDENT_0 . IDENT_3 . of ( 1 , 2 , 3 ) . METHOD_1 ( ( s , i ) -> s + i ) ; IDENT_2 . METHOD_2 ( System . out :: println ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( IDENT_4 , java . util . function . IDENT_5 ) { int IDENT_6 ; IDENT_4 IDENT_7 ; if ( ( this . size ( ) ) == 0 ) { return new IDENT_0 . IDENT_8 < IDENT_4 > ( ) ; } else { IDENT_6 = 0 ; IDENT_7 = IDENT_9 ; while ( IDENT_6 < ( this . size ( ) ) ) { IDENT_7 = IDENT_10 . apply ( IDENT_7 , this . get ( IDENT_6 ) ) ; IDENT_6 ++ ; } return IDENT_0 . IDENT_8 . of ( IDENT_7 ) ; } }
org . junit . Assert . assertEquals ( java . util . Arrays . asList ( 6 ) , IDENT_2 )