METHOD_0 ( ) { java . lang . Integer [ ] input = new java . lang . Integer [ 0 ] ; java . util . Set < java . lang . Integer > match = new java . util . HashSet < java . lang . Integer > ( ) ; match . add ( 1 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( T [ ] , com . IDENT_0 . IDENT_1 . Set ) { if ( ( match . size ( ) ) > ( input . length ) ) { return null ; } int i = 0 ; int j = 0 ; int min = - 1 ; com . IDENT_0 . IDENT_2 . IDENT_3 < java . lang . Integer > result = null ; com . IDENT_0 . IDENT_1 . Map < T , java . lang . Integer > IDENT_4 = new com . IDENT_0 . IDENT_1 . HashMap < T , java . lang . Integer > ( ) ; while ( j < ( input . length ) ) { while ( ( j < ( input . length ) ) && ( ( IDENT_4 . size ( ) ) < ( match . size ( ) ) ) ) { T IDENT_5 = input [ j ] ; if ( match . contains ( IDENT_5 ) ) { if ( ! ( IDENT_4 . containsKey ( IDENT_5 ) ) ) { IDENT_4 . put ( IDENT_5 , 1 ) ; } else { IDENT_4 . put ( IDENT_5 , ( ( IDENT_4 . get ( IDENT_5 ) ) + 1 ) ) ; } } j ++ ; } while ( ( i < j ) && ( ( IDENT_4 . size ( ) ) == ( match . size ( ) ) ) ) { T IDENT_5 = input [ i ] ; if ( match . contains ( IDENT_5 ) ) { if ( ( IDENT_4 . get ( IDENT_5 ) ) == 1 ) { IDENT_4 . remove ( IDENT_5 ) ; if ( ( min == ( - 1 ) ) || ( ( ( j - 1 ) - i ) < min ) ) { if ( result == null ) { result = new com . IDENT_0 . IDENT_2 . IDENT_3 < java . lang . Integer > ( i , j ) ; } else { result . METHOD_2 ( i ) ; result . METHOD_3 ( j ) ; } min = ( j - 1 ) - i ; } } else { IDENT_4 . put ( IDENT_5 , ( ( IDENT_4 . get ( IDENT_5 ) ) - 1 ) ) ; } } i ++ ; } } return result ; }
org . junit . Assert . assertNull ( com . IDENT_0 . IDENT_1 . IDENT_1 . METHOD_1 ( input , match ) )