METHOD_0 ( ) { net . time4j . range . IDENT_0 < java . time . IDENT_1 > i = net . time4j . range . IDENT_0 . METHOD_1 ( IDENT_1 . IDENT_2 , java . time . IDENT_1 . now ( ) ) ; net . time4j . range . IDENT_3 < java . time . IDENT_1 , net . time4j . range . IDENT_0 < java . time . IDENT_1 > > tree = net . time4j . range . IDENT_3 . METHOD_0 ( java . util . Collections . singletonList ( i ) ) ; tree . accept ( ( IDENT_4 ) -> { System . out . println ( IDENT_4 ) ; return false ; } ) ; "<AssertPlaceHolder>" ; } contains ( IDENT_5 extends net . time4j . engine . IDENT_6 ) { for ( net . time4j . engine . IDENT_7 < ? > item : this . METHOD_2 ( ) ) { if ( item . METHOD_3 ( ) . equals ( unit ) ) { return ( item . METHOD_4 ( ) ) > 0 ; } } return false ; }
org . junit . Assert . assertThat ( tree . contains ( i ) , org . hamcrest . CoreMatchers . is ( true ) )