METHOD_0 ( ) { java . lang . Object id = container . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . Object ) { for ( int IDENT_0 = 0 ; IDENT_0 < ( IDENT_1 . size ( ) ) ; IDENT_0 ++ ) { com . vaadin . IDENT_2 . data . util . IDENT_3 . IDENT_4 item = IDENT_1 . get ( IDENT_0 ) ; if ( item . getId ( ) . equals ( IDENT_5 ) ) { if ( METHOD_3 ( item ) ) { METHOD_4 ( ) ; return ( size ) + IDENT_0 ; } else { return - 1 ; } } } if ( ! ( METHOD_5 ( IDENT_5 ) ) ) { return - 1 ; } if ( IDENT_6 . isEmpty ( ) ) { METHOD_6 ( ) ; } int IDENT_7 = 0 ; int IDENT_8 ; while ( IDENT_7 < ( size ) ) { if ( IDENT_9 . METHOD_7 ( IDENT_5 ) ) { for ( java . lang . Integer IDENT_10 : IDENT_9 . METHOD_8 ( ) ) { if ( IDENT_9 . get ( IDENT_10 ) . equals ( IDENT_5 ) ) { return IDENT_10 ; } } } IDENT_8 = IDENT_11 ; int IDENT_12 = ( ( IDENT_11 ) + ( ( IDENT_13 ) * ( com . vaadin . IDENT_2 . data . util . IDENT_3 . IDENT_14 . IDENT_15 ) ) ) + ( IDENT_16 ) ; if ( IDENT_12 >= ( size ) ) { IDENT_12 = 0 ; } METHOD_9 ( IDENT_12 ) ; if ( ( IDENT_11 ) > IDENT_8 ) { IDENT_7 += ( IDENT_11 ) - IDENT_8 ; } else { IDENT_7 += ( size ) - IDENT_8 ; } } return - 1 ; }
org . junit . Assert . assertEquals ( 4 , container . METHOD_2 ( id ) )